Skip to content

Commit

Permalink
Merge pull request MariaDB#7 from waja/mysqld_multi
Browse files Browse the repository at this point in the history
Adding mysqld_multi.server_lsb-header.patch, provides LSB headers for ex...
  • Loading branch information
ottok committed Feb 26, 2015
2 parents cef4b6d + 361e420 commit f495ba3
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
29 changes: 29 additions & 0 deletions debian/patches/mysqld_multi.server_lsb-header.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
--- a/support-files/mysqld_multi.server.sh
+++ b/support-files/mysqld_multi.server.sh
@@ -14,8 +14,24 @@
# Version 1.0
#

-basedir=/usr/local/mysql
-bindir=/usr/local/mysql/bin
+### BEGIN INIT INFO
+# Provides: mysqld_multi
+# Required-Start: $remote_fs $syslog
+# Required-Stop: $remote_fs $syslog
+# Should-Start: $network $named $time
+# Should-Stop: $network $named $time
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Start and stop multiple mysql database server daemon instances
+# Description: Controls multiple MariaDB database server daemon instances
+### END INIT INFO
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+NAME=mysqld_multi
+DESC=mysqld_multi
+
+basedir=/usr
+bindir=/usr/bin

if test -x $bindir/mysqld_multi
then
1 change: 1 addition & 0 deletions debian/patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ new_valid_certs.patch
new_valid_certs_test_fix.patch
reproducible-builds-fix-connect.patch
mysqld_multi_confd.patch
mysqld_multi.server_lsb-header.patch

0 comments on commit f495ba3

Please sign in to comment.