From owner-freebsd-questions@FreeBSD.ORG Fri Dec 3 16:30:20 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 9E2E516A4CE for ; Fri, 3 Dec 2004 16:30:20 +0000 (GMT) Received: from blue.gerhardt-it.com (gw.gerhardt-it.com [204.83.38.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5D3643D39 for ; Fri, 3 Dec 2004 16:30:19 +0000 (GMT) (envelope-from scott@g-it.ca) Received: from [192.168.0.112] (hssxsk69-11-54-221.sasknet.sk.ca [69.11.54.221]) by blue.gerhardt-it.com (Postfix) with ESMTP id D5799FD96 for ; Fri, 3 Dec 2004 10:30:18 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <9DB1391E-4548-11D9-86CC-000393801C60@g-it.ca> Content-Type: text/plain; charset=US-ASCII; format=flowed To: FreeBSD From: Scott Gerhardt Date: Fri, 3 Dec 2004 10:30:16 -0600 X-Mailer: Apple Mail (2.619) Subject: rcNG - starting services. 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: Fri, 03 Dec 2004 16:30:20 -0000 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? OR Do I create an entry in /etc/rc.conf.local with "mysql_enable=YES"? 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 /usr/local/etc/rc.d/mysql-server.sh? Thanks, -- Scott A. Gerhardt, P.Geo. Gerhardt Information Technologies