Bug 35242: Force memcache restart after koha upgrade
authorMason James <mtj@kohaaloha.com>
Thu, 2 Nov 2023 22:56:51 +0000 (11:56 +1300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 3 Nov 2023 15:04:44 +0000 (12:04 -0300)
commit1fa096e7a03ad7d42ca5f4de12d873ea1b8a4bce
treee05abdf16c069adfe2aa56fbe0877d72b8b96921
parent9110547de098264e2574e27f35859674f1ed18a2
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>
debian/koha-common.postinst