Hi there,

Am 31.07.2013 um 14:48 schrieb Jan Wagner:
> attached is a patch to use the /usr/share/mysql/mysqld_multi.server as
> drop in replacement. Maybe the Provides-header needs to be adjusted.

find attached a patch against the latest master branch of the debian
package. Maybe the description needs some more tweaking.

It's based on https://github.com/waja/mysql-5.5/tree/mysqld_multi

Cheers, Jan.
-- 
Never write mail to <w...@spamfalle.info>, you have been warned!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d-- s+: a C+++ UL++++ P+ L+++ E--- W+++ N+++ o++ K++ w--- O M V- PS
PE Y++
PGP++ t-- 5 X R tv- b+ DI D+ G++ e++ h---- r+++ y++++
------END GEEK CODE BLOCK------
From 118ca7079a4eaf603abf8c72a3d986aeda810d1a Mon Sep 17 00:00:00 2001
From: Jan Wagner <w...@cyconet.org>
Date: Fri, 20 Feb 2015 21:38:00 +0100
Subject: [PATCH] Adding mysqld_multi.server_lsb-header.patch, provides LSB
 headers for example initscript (Closes: #617222)

---
 .../patches/mysqld_multi.server_lsb-header.patch   | 29 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 30 insertions(+)
 create mode 100644 debian/patches/mysqld_multi.server_lsb-header.patch

diff --git a/debian/patches/mysqld_multi.server_lsb-header.patch b/debian/patches/mysqld_multi.server_lsb-header.patch
new file mode 100644
index 0000000..0f9b5da
--- /dev/null
+++ b/debian/patches/mysqld_multi.server_lsb-header.patch
@@ -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:          mysql
++# Required-Start:    $remote_fs $syslog
++# Required-Stop:     $remote_fs $syslog
++# Should-Start:      $network $time
++# Should-Stop:       $network $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 MySQL 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
diff --git a/debian/patches/series b/debian/patches/series
index eab07fc..42c20f9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -14,3 +14,4 @@ fix-mips64el-ftbfs.patch
 50_mysql-test__db_test.patch
 fix-mysqlhotcopy-test-failure.patch
 mysqld_multi_confd.patch
+mysqld_multi.server_lsb-header.patch

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to