start of daemons

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


peter.lidell at post.dk wrote:

>Hello,
>
>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.
>
>Regards
>
>Peter
>  
>

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