Date: Sat, 18 Mar 2006 12:04:18 -0900 From: Beech Rintoul <beech@mangohealth.org> To: freebsd-questions@freebsd.org Cc: Chris Maness <chris@chrismaness.com> Subject: Re: Best Way to Start an App at Boot Time? Message-ID: <200603181204.34401.beech@mangohealth.org> In-Reply-To: <441C702B.2070202@chrismaness.com> References: <441C702B.2070202@chrismaness.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart5213188.SdWDKXHj1D Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 18 March 2006 11:40, Chris Maness wrote: > I like the rc.conf file idea that FreeBSD uses to start daemons. I have > a python script (i.e. denyhosts.py) that I would like to launch in a > daemon mode at boot time. How would I add this as an option for > rc.conf, or is there a better more "official" way to do this? You can also start your script at boot via cron. Use "@reboot" instead of t= he=20 time settings on the crontab line (without the quotes). See man 5 crontab f= or=20 more info. Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@mangohealth.org /"\ ASCII Ribbon Campaign | Mangohealth \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - XanGo - http://www.mangohealth.org =2D------------------------------------------------------------------------= =2D------------- --nextPart5213188.SdWDKXHj1D Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEHHXi2TFLCHYGSF0RAs35AJ9X9+D06pSoGrVeRSBQJL5SxvoPEACeIrLB UsrX6EoGviJzQ/9bBNmd/mg= =FlqN -----END PGP SIGNATURE----- --nextPart5213188.SdWDKXHj1D--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603181204.34401.beech>