]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Sun, 15 Jul 2018 18:55:13 +0000 (19:55 +0100)
commit7647f199d47ccc484796c96d0815d1f0e746ab4b
tree538786489998897c568254e247385afbb20d8153
parentc3576b1adedc4dbcabb1eb833f33194f66db63bf
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>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
debian/koha-common.init