From owner-freebsd-questions@FreeBSD.ORG Fri Dec 3 16:42:14 2004 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 EBD7C16A4CE for ; Fri, 3 Dec 2004 16:42:14 +0000 (GMT) Received: from virtual.micronet.sk (smtp-r.micronet.sk [213.215.96.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7C4643D1D for ; Fri, 3 Dec 2004 16:42:13 +0000 (GMT) (envelope-from danger@wilbury.sk) Received: from danger.dnv.dewnet.sk ([213.215.105.189]) by virtual.micronet.sk (8.12.11/8.12.11) with ESMTP id iB3GfXEm035381; Fri, 3 Dec 2004 17:41:44 +0100 (CET) (envelope-from danger@wilbury.sk) Date: Fri, 3 Dec 2004 17:39:41 +0100 From: DanGer X-Mailer: The Bat! (v3.0.1.33) Professional X-Priority: 3 (Normal) Message-ID: <178688443.20041203173941@wilbury.sk> To: Scott Gerhardt , questions@freebsd.org In-Reply-To: <9DB1391E-4548-11D9-86CC-000393801C60@g-it.ca> References: <9DB1391E-4548-11D9-86CC-000393801C60@g-it.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: rcNG - starting services. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: DanGer List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2004 16:42:15 -0000 Hi Scott, Friday, December 3, 2004, 5:30:16 PM, you made these points: > I just made the transition to 5.3 from 4.x and I am unclear on the the > new rcNG way of starting locally installed services such as MySQL, > Samba etc. I did read the manual pages on rc.d and rcNG. > I just installed MySQL from ports and would like it to start > automatically on boot. > The manual page for rcNG is a bit unclear for starting local userland > services such as mysql. A working example for a common application > such as MysQL, Postgresql, or Samba would certainly be useful. > My question is: > Do I still start MysQL the old way with the script in > /usr/local/etc/rc.d/mysql-server.sh? yes > OR > Do I create an entry in /etc/rc.conf.local with "mysql_enable=YES"? you need to add line mysql_enable=YES to rc.conf > Also, if using the rcNG method, do I have to copy the mysql-server.sh > script to /etc/rc.d/mysql or will rcNG make use of default no > /usr/local/etc/rc.d/mysql-server.sh? yes ;-) -- Best Regards, +----------==/\/\==----------+ (__) FreeBSD | DanGer | \\\'',) The | DanGer@IRCnet ICQ261701668 | \/ \ ^ Power | http://danger.homeunix.org | .\._/_) To +----------==\/\/==----------+ Serve [ Malpractice makes malperfect. ]