MYSQL_CFG=/etc/my.cnf
PID=/var/run/mysql/mysqld.pid
LOG=/var/log/mysqld.log
+OPTS="--pid-file=$PID"
case $1 in
start)
- $SSD --start -bC --pidfile $PID --exec $PROG >> $LOG 2>&1
+ $SSD --start -bC --pidfile $PID --exec $PROG -- $OPTS >> $LOG 2>&1
;;
stop)
$SSD --stop --remove-pidfile --retry 10 --pidfile $PID