Bug 26363: Provide a systemd unit file for koha-worker in package installs
authorDavid Cook <dcook@prosentient.com.au>
Tue, 6 Oct 2020 06:33:05 +0000 (06:33 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 1 Mar 2021 09:51:15 +0000 (10:51 +0100)
commit6e21b86f66938c12ddc62b06ac08c9e510ef2e8e
tree9a1e4be9c002a3f2469f0bb4afdc9a95a424e2d1
parent21a850a3dccc07bd5b6423bc8c9a902aba7958fc
Bug 26363: Provide a systemd unit file for koha-worker in package installs

While the packages already have a koha-zebra script that creates a service
using the 'daemon' utility, this unit file template provides an alternative.

Note that currently you'd have to start the service using the following:

```systemctl start koha-worker@NAME.service```

Where NAME is the name of your Koha instance.

The systemctl enable/start commands could be automated more with helper
scripts in debian/scripts, but this is a first step.

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
debian/templates/koha-worker@.service [new file with mode: 0644]