]> git.koha-community.org Git - koha.git/commit
Bug 26363: Provide a systemd unit file for koha-worker for source installs
authorDavid Cook <dcook@prosentient.com.au>
Tue, 6 Oct 2020 06:30:56 +0000 (06:30 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 2 Mar 2021 07:31:29 +0000 (08:31 +0100)
commit87289c7d4decde731fdd60ffafc7a440b508bbd8
treefa6759edf2c4402a290057883dc295da36e6071b
parent1be7d9ce609c7722d328dca25a7c070d7b987d65
Bug 26363: Provide a systemd unit file for koha-worker for source installs

This patch adds a systemd unit file which gets rewritten according to
the configuration specified by Makefile.PL. This can be linked or
copied to systemd directories for running a systemd service for
background_jobs_worker.pl

Test plan:
1. perl Makefile.PL
1a. Choose "single" installation
1b. Choose "/opt/koha" for a file path
2. make
3. vi blib/KOHA_CONF_DIR/koha-worker.service
4. Verify that PERL5LIB, KOHA_CONF, ExecStart, and SyslogIdentifier
all appear to be correctly filled in

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 21a850a3dccc07bd5b6423bc8c9a902aba7958fc)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Makefile.PL
etc/koha-worker.service [new file with mode: 0644]