explicit use of /etc/rc.d vs service

Matthew D. Fuller fullermd at over-yonder.net
Thu Jan 24 18:43:56 UTC 2013


On Thu, Jan 24, 2013 at 02:52:26PM +0200 I heard the voice of
Elias Chrysocheris, and lo! it spake thus:
>
> It returns an error. But when I /usr/local/etc/rc.d/apache22
> onerestart evrything works fine...

That could mean it's depending on something in your env variables,
which service will clear out (and so technically is a bug in your
setup, if your system script is depending on your user env...)


-- 
Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.


More information about the freebsd-doc mailing list