diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-06-12 20:38:22 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-06-12 20:38:22 +0200 |
commit | c40b7694d0dbb0781ee7578b5a44f412ce8dae64 (patch) | |
tree | b5461de7f684bf7fa5b6dd8407e8fcce900b50ce /debian | |
parent | dacb3809a2a88e8562bf3021afafa490d37de166 (diff) | |
download | mariadb-git-c40b7694d0dbb0781ee7578b5a44f412ce8dae64.tar.gz |
MDEV-4509 mysql init script should accept arguments
fix the init script for .deb packages
(rpm's were fine already)
Diffstat (limited to 'debian')
-rw-r--r-- | debian/mariadb-server-5.5.mysql.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/mariadb-server-5.5.mysql.init b/debian/mariadb-server-5.5.mysql.init index 01e1288525e..ccafc9d0dfe 100644 --- a/debian/mariadb-server-5.5.mysql.init +++ b/debian/mariadb-server-5.5.mysql.init @@ -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 |