start of daemons

Kevin Kinsey kdk at
Wed Feb 9 12:04:40 PST 2005

peter.lidell at wrote:

>I have installed apache and spamd from source and would like for them to start on bootup. How do I do that? (there are no .sh scripts for them in /usr/local/etc/rc.d)
>Thanks for your time.

Scripts are great, but in a pinch you can add entries to
root's crontab using "@reboot" in place of the usual fields
for min-hour-day and friends...

I've used this before when installing from source:

@reboot         /usr/local/sbin/apachectl start

Kevin Kinsey

More information about the freebsd-questions mailing list