Bug 33371: Add 'koha-common.service' systemd service
authorMason James <mtj@kohaaloha.com>
Thu, 30 Mar 2023 14:32:10 +0000 (03:32 +1300)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Thu, 8 Jun 2023 16:59:56 +0000 (16:59 +0000)
commit3affb8cd331ec6232b5aa41cd304545295d37781
treeac513d693e9e549de7a2962dbb146b41d9ef18c9
parent367442593cb3099eb0eebc24dd525ac9cf27c94c
Bug 33371: Add 'koha-common.service' systemd service

to test

- install current package
- note following $message on install
 'Failed to enable unit: Unit /run/systemd/generator.late/koha-common.service is transient or generated.'

- apply patch, build package, install new package
- note $message is gone! :)

- test koha-common.service
   # systemctl start  koha-common
   # systemctl status koha-common | grep running
     Active: active (running) since Sun 2023-04-02 00:27:31 NZDT <<<

   # systemctl stop  koha-common

   # systemctl status koha-common | grep dead
     Active: inactive (dead) since Sun 2023-04-02 00:25:34 NZDT <<<

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 4d1d18cd2a145df7fd1e0f8a690da0b3a03ec38c)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
debian/koha-common.service [new file with mode: 0644]