not adding daemons to rc.conf

Daniel Bye freebsd-questions at slightlystrange.org
Thu Aug 31 03:42:31 UTC 2006


On Wed, Aug 30, 2006 at 08:47:06PM -0500, 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.

There is the "force" modifier which may be of help/interest.  It works
like this:

 # /usr/local/etc/rc.d/script forcestart

This will, well, force the script to run, even if it's not explicitly
enabled in /etc/rc.conf.

Close to what you want?

-- 
Daniel Bye

PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060831/ddc44bb7/attachment.pgp


More information about the freebsd-questions mailing list