Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2006 17:46:43 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        freebsd-questions-local@be-well.ilk.org (Lowell Gilbert)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mysql rc.d script
Message-ID:  <200604192146.k3JLkhWU022166@clunix.cl.msu.edu>
In-Reply-To: <444q0p9rbn.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> "Vlad GURDIGA" <gurdiga@gmail.com> 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"
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604192146.k3JLkhWU022166>