@@ -, +, @@ --- debian/koha-common.postinst | 8 ++++++++ debian/koha-common.preinst | 3 +++ 2 files changed, 11 insertions(+) --- a/debian/koha-common.postinst +++ a/debian/koha-common.postinst @@ -148,4 +148,12 @@ db_stop update-rc.d koha-common disable update-rc.d koha-common enable +#start service koha-common +echo "Restarting memcached …" +service memcached restart +echo "Starting service koha-common …" +service koha-common start +echo "Restarting service apache2 …" +service apache2 restart + exit 0 --- a/debian/koha-common.preinst +++ a/debian/koha-common.preinst @@ -2,6 +2,9 @@ set -e +# stop service koha-common before upgrade +[ -e /etc/init.d/koha-common ] && echo "Stopping service koha-common …" && service koha-common stop + # Bug 14055 - remove the yui symlink if there's one in the way preventing upgrades [ -h /usr/share/koha/opac/htdocs/opac-tmpl/lib/yui ] && rm /usr/share/koha/opac/htdocs/opac-tmpl/lib/yui --