Bug 35242: Force memcache restart after koha upgrade
authorMason James <mtj@kohaaloha.com>
Thu, 2 Nov 2023 22:56:51 +0000 (11:56 +1300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 10 Nov 2023 02:22:51 +0000 (16:22 -1000)
commit557425afd92dffeedb2794231852e99806d9733b
tree5aabdc1b995ac02038de9fb6fdcb400ddcaa6a40
parent99f69e987faae7c91ffc46c4abfc65d09519a5cf
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>
(cherry picked from commit 1fa096e7a03ad7d42ca5f4de12d873ea1b8a4bce)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
debian/koha-common.postinst