From owner-freebsd-questions@FreeBSD.ORG Sun Oct 25 18:21:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90C31106566C for ; Sun, 25 Oct 2009 18:21:13 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from april.london.02.net (april.london.02.net [87.194.255.143]) by mx1.freebsd.org (Postfix) with ESMTP id 591478FC19 for ; Sun, 25 Oct 2009 18:21:12 +0000 (UTC) Received: from muji.config (93.97.24.219) by april.london.02.net (8.5.016.1) id 4A23ECF805C8888B for freebsd-questions@freebsd.org; Sun, 25 Oct 2009 18:21:11 +0000 Message-ID: <4AE49717.6020506@onetel.com> Date: Sun, 25 Oct 2009 18:21:11 +0000 From: Chris Whitehouse User-Agent: Thunderbird 2.0.0.21 (X11/20090423) MIME-Version: 1.0 To: User Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: incorrect info in mysql docs 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, 25 Oct 2009 18:21:13 -0000 hi, I just noticed this at http://dev.mysql.com/doc/refman/5.1/en/automatic-start.html On FreeBSD, startup scripts generally should go in /usr/local/etc/rc.d/. The rc(8) manual page states that scripts in this directory are executed only if their basename matches the *.sh shell file name pattern. Any other files or directories present within the directory are silently ignored. In other words, on FreeBSD, you should install the mysql.server script as /usr/local/etc/rc.d/mysql.server.sh to enable automatic startup. That's not actually right is it? My mysql is started by /usr/local/etc/rc.d/mysql-server. rc(8) says *.sh is for older style startup scripts or for scripts that are to be read into the current shell. Chris