From owner-freebsd-questions@FreeBSD.ORG Wed Apr 19 21:46:46 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 6E5AE16A427 for ; Wed, 19 Apr 2006 21:46:46 +0000 (UTC) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDE1143D45 for ; Wed, 19 Apr 2006 21:46:45 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.13.6+Sun/8.12.2) with ESMTP id k3JLkhKI022167; Wed, 19 Apr 2006 17:46:44 -0400 (EDT) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.13.6+Sun/8.12.2/Submit) id k3JLkhWU022166; Wed, 19 Apr 2006 17:46:43 -0400 (EDT) From: Jerry McAllister Message-Id: <200604192146.k3JLkhWU022166@clunix.cl.msu.edu> To: freebsd-questions-local@be-well.ilk.org (Lowell Gilbert) Date: Wed, 19 Apr 2006 17:46:43 -0400 (EDT) In-Reply-To: <444q0p9rbn.fsf@be-well.ilk.org> X-Mailer: ELM [version 2.5 PL7] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: mysql rc.d 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: Wed, 19 Apr 2006 21:46:46 -0000 > > "Vlad GURDIGA" writes: > > > I have a FreeBSD 6-current build from almost the most recent source. > > I have installed mysql41-server port and observed a strange behaviour: > > as usual, I only have to put the mysqld_enable="yes" in my > > /etc/rc.conf to have mysql server started at boot, but this time it > > did not work. I've checked the script mode and it was OK, just like > > other scripts in there, and like the Apache starter script that worked > > fine and after i put enable_apache="YES" in rc.conf. > > > > The only difference between mysql server starter script and others was > > the missing ".sh" suffix. After I renamed mysql-server to > > mysql-server.sh everything worked fine. > > > > Is that OK? If you mean is adding the '.sh' to the name OK, then yes. That is what you are supposed to do, as well as check to make sure it has execute permission. ////jerry > > It should be okay. It changes the way that the script is called a bit > (details in "man rc"), but start and stop should be fine. Just be > careful when you upgrade. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >