From fc604889cdbe00fddbdb03f7ba237c9b4371f2bb Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 13 Mar 2017 14:13:10 +0100 Subject: [PATCH] Bug 18250: Force startup order in postinst script Content-Type: text/plain; charset=utf-8 This is a workaround meant to correct upgrading installs. We force the order by disable/enable. Test plan: [1] When upgrading an existing install, check that the startup order after the upgrade has been corrected in /etc/rcX.d (say X=5). --- debian/koha-common.postinst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/koha-common.postinst b/debian/koha-common.postinst index 20c354d..23c4d01 100644 --- a/debian/koha-common.postinst +++ b/debian/koha-common.postinst @@ -142,4 +142,10 @@ done db_stop +# Bug 18250: Correct startup order of koha-common and memcached +# Since the init script has been updated, we can force the order in rc.d +# by disabling and enabling again. +update-rc.d koha-common disable +update-rc.d koha-common enable + exit 0 -- 2.1.4