incorrect info in mysql docs

Chris Whitehouse cwhiteh at onetel.com
Sun Oct 25 18:21:13 UTC 2009


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


More information about the freebsd-questions mailing list