Commit 8c932ba7 authored by Leigh Stoller's avatar Leigh Stoller

Add /usr/local/etc/rc.d/2.mysql-server.sh since it needs local

customization for the log paths. Also added an increase of max
connections to 200.
parent ca91942f
......@@ -1046,9 +1046,11 @@ outfiles="$outfiles Makeconf GNUmakefile \
tmcd/GNUmakefile tmcd/freebsd/GNUmakefile tmcd/linux/GNUmakefile \
tmcd/netbsd/GNUmakefile \
tmcd/tmcd.restart \
utils/GNUmakefile utils/vlandiff utils/vlansync utils/delay_config utils/sshtb \
utils/GNUmakefile utils/vlandiff utils/vlansync utils/delay_config \
utils/sshtb \
www/GNUmakefile www/defs.php3 www/dbdefs.php3 \
rc.d/GNUmakefile rc.d/3.testbed.sh rc.d/cvsupd.sh"
rc.d/GNUmakefile rc.d/2.mysql-server.sh rc.d/3.testbed.sh \
rc.d/cvsupd.sh"
#
# Do this for easy distclean.
......
......@@ -168,9 +168,11 @@ outfiles="$outfiles Makeconf GNUmakefile \
tmcd/GNUmakefile tmcd/freebsd/GNUmakefile tmcd/linux/GNUmakefile \
tmcd/netbsd/GNUmakefile \
tmcd/tmcd.restart \
utils/GNUmakefile utils/vlandiff utils/vlansync utils/delay_config utils/sshtb \
utils/GNUmakefile utils/vlandiff utils/vlansync utils/delay_config \
utils/sshtb \
www/GNUmakefile www/defs.php3 www/dbdefs.php3 \
rc.d/GNUmakefile rc.d/3.testbed.sh rc.d/cvsupd.sh"
rc.d/GNUmakefile rc.d/2.mysql-server.sh rc.d/3.testbed.sh \
rc.d/cvsupd.sh"
#
# Do this for easy distclean.
......
#!/bin/sh
case "$1" in
start)
if [ -x /usr/local/bin/safe_mysqld ]; then
/usr/local/bin/safe_mysqld --skip-grant-tables --skip-networking --user=mysql --log-long-format --log=@prefix@/log/mysql/base --log-update=@prefix@/log/mysql/update -O max_connections=200 > /dev/null & && echo -n ' mysqld'
fi
;;
stop)
/usr/bin/killall mysqld > /dev/null 2>&1 && echo -n ' mysqld'
;;
*)
echo ""
echo "Usage: `basename $0` { start | stop }"
echo ""
exit 64
;;
esac
......@@ -8,7 +8,7 @@ SUBDIR = rc.d
include $(OBJDIR)/Makeconf
RC_SCRIPTS = 3.testbed.sh cvsupd.sh
RC_SCRIPTS = 2.mysql-server.sh 3.testbed.sh cvsupd.sh
#
# Force dependencies to make sure configure regenerates if the .in file
# is changed.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment