Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Feb 2005 14:04:36 -0600
From:      Kevin Kinsey <kdk@daleco.biz>
To:        peter.lidell@post.dk
Cc:        freebsd-questions@freebsd.org
Subject:   Re: start of daemons
Message-ID:  <420A6CD4.5050807@daleco.biz>
In-Reply-To: <E6CDEF4DFA31524D83641C6B9550AF7707B10DA9@exmbxa501.postdk.net>
References:  <E6CDEF4DFA31524D83641C6B9550AF7707B10DA9@exmbxa501.postdk.net>

next in thread | previous in thread | raw e-mail | index | archive | help
peter.lidell@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?420A6CD4.5050807>