Bug 35242: Force memcache restart after koha upgrade
to test.. 1/ install koha-common $ sudo apt install koha-common 2/ start memcached, check PID $ sudo service memcached start $ sudo systemctl status memcached | grep PID Main PID: 52851 (memcached) 3/ build and install new koha-common package (will trigger a restart) $ sudo apt install ./koha-common-git+deadbeef.deb 5/ check that memcache is started, and has new PID (52900) $ sudo systemctl status memcached | grep PID Main PID: 52900 (memcached) Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
9110547de0
commit
1fa096e7a0
1 changed files with 3 additions and 0 deletions
3
debian/koha-common.postinst
vendored
3
debian/koha-common.postinst
vendored
|
@ -276,6 +276,9 @@ db_stop
|
|||
rabbitmq-plugins enable rabbitmq_stomp
|
||||
service rabbitmq-server restart
|
||||
|
||||
# Bug 35242: Force memcache restart after koha install/upgrade
|
||||
service memcached restart
|
||||
|
||||
# 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.
|
||||
|
|
Loading…
Reference in a new issue