From owner-freebsd-questions@FreeBSD.ORG Sat Mar 18 21:04:39 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72EA916A422 for ; Sat, 18 Mar 2006 21:04:39 +0000 (UTC) (envelope-from beech@mangohealth.org) Received: from pinnacle.akherb.com (94-37-237-24.gci.net [24.237.37.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6A0143D49 for ; Sat, 18 Mar 2006 21:04:38 +0000 (GMT) (envelope-from beech@mangohealth.org) Received: by pinnacle.akherb.com (Postfix, from userid 1007) id D03695DA3; Sat, 18 Mar 2006 12:04:37 -0900 (AKST) X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on pinnacle.akherb.com X-Spam-Level: X-Spam-Status: No, score=0.0 required=4.0 tests=AWL autolearn=ham version=3.1.0 Received: from [192.168.2.131] (209-124-141-064.ip.arctic.net [209.124.141.64]) by pinnacle.akherb.com (Postfix) with ESMTP id 34A8F5CC9; Sat, 18 Mar 2006 12:04:37 -0900 (AKST) From: Beech Rintoul Organization: Mangohealth To: freebsd-questions@freebsd.org Date: Sat, 18 Mar 2006 12:04:18 -0900 User-Agent: KMail/1.9.1 References: <441C702B.2070202@chrismaness.com> In-Reply-To: <441C702B.2070202@chrismaness.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5213188.SdWDKXHj1D"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200603181204.34401.beech@mangohealth.org> Cc: Chris Maness Subject: Re: Best Way to Start an App at Boot Time? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2006 21:04:39 -0000 --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--