explicit use of /etc/rc.d vs service

Eitan Adler lists at eitanadler.com
Thu Jan 24 14:47:58 UTC 2013


On 24 January 2013 07:52, Elias Chrysocheris <elias_chr at otenet.gr> wrote:
>>Sounds like a very good idea. I don't know how many times I have had
>>problems with bad paths leaking into cron etc meaning it fails on reboot
>>since something depended on the trained environment. (Service solves that.)
>
> Yes, but there are sometimes that service does not act as it should be. For
> example, in my FreeBSD 9.1 (happened also in 8.x) service apache22 onerestart,
> restarts apache22 but there something is missing... I do not have access to my
> mercurial web interface. It returns an error. But when I
> /usr/local/etc/rc.d/apache22 onerestart evrything works fine...

This is a bug. Did you file a PR or mail -rc ?
-- 
Eitan Adler


More information about the freebsd-doc mailing list