CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
mysql: updated to 5.7.23
[ports/opt-arm.git] / mysql / mysqld
index 8df06b24f1142dbc9bf7703e97fd263e503c51e7..504c1a2525f86a60bd975b6895865637ab31d457 100644 (file)
@@ -8,10 +8,11 @@ PROG=/usr/sbin/mysqld
 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