Bug 33371: Add [Install] section to koha-common.service
authorMason James <mtj@kohaaloha.com>
Thu, 1 Jun 2023 12:49:27 +0000 (00:49 +1200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 1 Jun 2023 14:55:28 +0000 (11:55 -0300)
commit96cc7473951af378247f10bf41259b0273559dc8
tree7861db0f88c62d50e90c88daf61056680531afa6
parentf4e2c2b4761b47cfd4dad1f789b2f73ce6287b57
Bug 33371: Add [Install] section to koha-common.service

to test:

 1/ install pkg, reboot, note service is not 'active'

 2/ add patch, build package

 3/ install pkg, reboot, note service is 'active' :)

  root@deb11:/etc# systemctl status koha-common
  * koha-common.service - Start required services for each Koha instance
     Loaded: loaded (/etc/init.d/koha-common; enabled; vendor preset: enabled) <<<<
     Active: active (exited) since Thu 2023-06-01 12:45:08 UTC; 13min ago
      Tasks: 0 (limit: 2244)
     Memory: 0B
        CPU: 0
     CGroup: /system.slice/koha-common.service
  Jun 01 12:45:08 deb11 systemd[1]: Starting Start required services for each Koha instance...

Signed-off-by: Andrew Nugged <nugged@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
debian/koha-common.service