1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-30 11:22:14 +03:00

MDEV-4509 mysql init script should accept arguments

fix the init script for .deb packages
(rpm's were fine already)
This commit is contained in:
Sergei Golubchik
2013-06-12 20:38:22 +02:00
parent dacb3809a2
commit c40b7694d0

View File

@@ -106,7 +106,7 @@ case "${1:-''}" in
test -e /var/run/mysqld || install -m 755 -o mysql -g root -d /var/run/mysqld
# Start MariaDB!
/usr/bin/mysqld_safe > /dev/null 2>&1 &
/usr/bin/mysqld_safe "${@:2}" > /dev/null 2>&1 &
# 6s was reported in #352070 to be too few when using ndbcluster
for i in $(seq 1 "${MYSQLD_STARTUP_TIMEOUT:-30}"); do