]> git.koha-community.org Git - koha.git/commit
Bug 18250: Update LSB block of koha-common init script
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 13 Mar 2017 12:53:49 +0000 (13:53 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 12 Jul 2018 13:11:16 +0000 (13:11 +0000)
commit7d6cdf9c2a6c7920769d7a8e8d4d355a8d393413
tree9bfaab2bf8157a2770c3548b013dbcfffddfa989
parentea184236a493fdc1267253662838ed64f72139ef
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 <mirko@abunchofthings.net>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
debian/koha-common.init