not adding daemons to rc.conf

Tofik Suleymanov tofik at oxygen.az
Thu Aug 31 16:55:31 UTC 2006


Jonathan Horne wrote:
> ive noticed that apache can be started manually using the apachectl tool, even 
> if it is not enabled in /etc/rc.conf.  do many other daemons have this 
> ability?  i have a dev server that i would like to not have many things 
> enabled in the rc.conf, but i would like an easy way to just start specific 
> daemons when i need.
>
> thanks,
> jonathan
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>   
You can always use:
/usr/local/etc/rc.d/scriptname forcestart
or
/etc/rc.d/scriptname forcestart

But this just overrides "enable" keyword in rc scripts and of course 
will not start your service in the next boot.

Sincerely,
Tofig Suleymanov


More information about the freebsd-questions mailing list