Commit c40b7694 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-4509 mysql init script should accept arguments

fix the init script for .deb packages
(rpm's were fine already)
parent dacb3809
...@@ -106,7 +106,7 @@ case "${1:-''}" in ...@@ -106,7 +106,7 @@ case "${1:-''}" in
test -e /var/run/mysqld || install -m 755 -o mysql -g root -d /var/run/mysqld test -e /var/run/mysqld || install -m 755 -o mysql -g root -d /var/run/mysqld
# Start MariaDB! # 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 # 6s was reported in #352070 to be too few when using ndbcluster
for i in $(seq 1 "${MYSQLD_STARTUP_TIMEOUT:-30}"); do for i in $(seq 1 "${MYSQLD_STARTUP_TIMEOUT:-30}"); do
......
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