From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 20:04:40 2005 Return-Path: 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 5439D16A4CE for ; Wed, 9 Feb 2005 20:04:40 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C91A43D45 for ; Wed, 9 Feb 2005 20:04:40 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.211); Wed, 9 Feb 2005 14:04:38 -0600 Message-ID: <420A6CD4.5050807@daleco.biz> Date: Wed, 09 Feb 2005 14:04:36 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: peter.lidell@post.dk References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Feb 2005 20:04:38.0721 (UTC) FILETIME=[95B85310:01C50EE2] cc: freebsd-questions@freebsd.org Subject: Re: start of daemons X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2005 20:04:40 -0000 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