summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-06-12 20:38:22 +0200
committerSergei Golubchik <sergii@pisem.net>2013-06-12 20:38:22 +0200
commitc40b7694d0dbb0781ee7578b5a44f412ce8dae64 (patch)
treeb5461de7f684bf7fa5b6dd8407e8fcce900b50ce /debian
parentdacb3809a2a88e8562bf3021afafa490d37de166 (diff)
downloadmariadb-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.init2
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