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.

Take a look at /usr/local/etc/rc.d
You will see several scripts belonging to server applications you
installed. Each one of these scripts can start or stop the service.
For example:
/usr/local/etc/rc.d/apache.sh start
/usr/local/etc/rc.d/apache.sh stop

When you put something into rc.conf it is actually this script that is
executed, so every daemon that can be enabled in rc.conf can also be
started/stopped using those scripts.

Daemons coming with the base system have there scripts in the /etc/rc.d
directory.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to