]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 2 Mar 2021 07:31:29 +0000 (08:31 +0100)
commit699dddb35704a4044224792c49854ff8da218783
tree06ab0c087c2ac88d37f7e12fbb639ff93da1e69a
parent87289c7d4decde731fdd60ffafc7a440b508bbd8
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>
(cherry picked from commit 6e21b86f66938c12ddc62b06ac08c9e510ef2e8e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
debian/templates/koha-worker@.service [new file with mode: 0644]