From owner-freebsd-questions@FreeBSD.ORG Sun Feb 26 19:38:41 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 62D9116A420 for ; Sun, 26 Feb 2006 19:38:41 +0000 (GMT) (envelope-from ldrada@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 518D843D62 for ; Sun, 26 Feb 2006 19:38:33 +0000 (GMT) (envelope-from ldrada@gmail.com) Received: by nproxy.gmail.com with SMTP id l37so547105nfc for ; Sun, 26 Feb 2006 11:38:32 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cql6L2QbTRpksDHLNa6DxH+SLWw3+37Sv+Iua/gBHiLJgSG8S+AHAb1DL71eAmfbOpXk1CyNCxABc9B0YoZkwIa9ObRi/qUs5gXSAHDndII0zXFeQhXRHigPUk/UMNf4//1k6Iad9hhfot4QWOt85cUaSey3tx1sKAciKc4PxD0= Received: by 10.49.41.4 with SMTP id t4mr1293125nfj; Sun, 26 Feb 2006 11:38:32 -0800 (PST) Received: by 10.48.108.10 with HTTP; Sun, 26 Feb 2006 11:38:32 -0800 (PST) Message-ID: <5ceb5d550602261138x14a8876er6682935639d8e080@mail.gmail.com> Date: Sun, 26 Feb 2006 20:38:32 +0100 From: "Daniel A." To: "Joacim Melin" , "FreeBSD Questions List" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Cc: Subject: Re: Startup script 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: Sun, 26 Feb 2006 19:38:41 -0000 On 2/26/06, Joacim Melin wrote: > Hi all, > > newbie question: which script do I put stuff that needs to be booted > during system startup, like apache httpd, spamd, named, etc? > > Joacim /etc/rc.conf For example, apache_enable=3D"YES" If you are in doubt of which string you should type to enable a certain service, you can always view the corresponding rc script for the service. If it's something system-related, it will always be in /etc/rc.d. If it's something you have installed, it will be in /usr/local/etc/rc.d