From 2834d83bcfbba66dfb2cc194fcb869662b59e8c5 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 13 Mar 2017 13:53:49 +0100 Subject: [PATCH] Bug 18250: Update LSB block of koha-common init script Currently koha-common may start before memcached. We should prevent that. If we add memcached to the LSB section of the koha-common init script, Debian's insserv will know about this requirement. Note: This patch is only a step in resolving the issue. Test plan: [1] Copy the updated koha-common script to /etc/init.d [2] Look for S..koha-common and S..memcached in /etc/rcX.d (say X=5) [3] Run sudo update-rc.d koha-common disable [4] Run sudo update-rc.d koha-common enable [5] Look again for S..koha-common in /etc/rcX.d (say X=5). The number for koha-common should now be higher than for memcached. Signed-off-by: Mirko Tietgen --- debian/koha-common.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/koha-common.init b/debian/koha-common.init index c258b58bf1..a223ec6076 100755 --- a/debian/koha-common.init +++ b/debian/koha-common.init @@ -1,7 +1,7 @@ #! /bin/sh ### BEGIN INIT INFO # Provides: koha-common -# Required-Start: $remote_fs +# Required-Start: $remote_fs memcached # Required-Stop: $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 -- 2.17.0