From owner-freebsd-questions Thu Jul 5 15:33:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id C849B37B403 for ; Thu, 5 Jul 2001 15:33:29 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-a239.otenet.gr [212.205.215.239]) by mailsrv.otenet.gr (8.11.1/8.11.1) with ESMTP id f65MXPo17592; Fri, 6 Jul 2001 01:33:27 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.4/8.11.3) id f65MXOs04104; Fri, 6 Jul 2001 01:33:24 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 6 Jul 2001 01:33:24 +0300 From: Giorgos Keramidas To: Jacob Smith Cc: freebsd-questions@FreeBSD.ORG Subject: Re: newbie help with rc Message-ID: <20010706013324.A3993@hades.hell.gr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jsmith@coolbluei.com on Thu, Jul 05, 2001 at 05:25:02PM -0400 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: Jacob Smith Sent: Thu, Jul 05, 2001 at 05:25:02PM -0400 Subject: newbie help with rc > I was hoping to get a little help with startup items. I was really > looking for a way to startup mysql and maybe check it before it starts up > along with apache. But I didnt know which file to edit. > > Thanks for any help or explanations, Put your mysql.sh script in /usr/local/etc/rc.d/mysql.sh and make sure it's name ends in *.sh and it is executable. The startup scripts will call it with 'start' at boot time and 'stop' at shutdown time. -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message