Bug 33371: Add 'koha-common.service' systemd service
authorMason James <mtj@kohaaloha.com>
Thu, 30 Mar 2023 14:32:10 +0000 (03:32 +1300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 19 May 2023 12:20:55 +0000 (09:20 -0300)
commit4d1d18cd2a145df7fd1e0f8a690da0b3a03ec38c
treeb956ccf5eb28bd4800776404bc60121c17535dfd
parente9fe95b8f4b71765cb240151cc63da3f30ceee2f
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>
debian/koha-common.service [new file with mode: 0644]