Koha/debian/templates/koha-worker@.service
David Cook 782ae18779 Bug 26363: Change SyslogIdentifier to match koha-worker script style
This patch changes the SyslogIdentifier so that it matches
the style used by koha-worker.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-03-01 10:51:15 +01:00

18 lines
449 B
Desktop File

# koha-worker@.service
# /etc/systemd/system/koha-worker@.service
[Unit]
Description=Koha Task Queue Worker
After=syslog.target network.target
[Service]
Environment=PERL5LIB=/usr/share/koha/lib
Environment=KOHA_CONF=/etc/koha/sites/%i/koha-conf.xml
ExecStart=/usr/share/koha/bin/background_jobs_worker.pl
Restart=on-failure
RestartSec=5s
StartLimitBurst=3
StartLimitInterval=60
SyslogIdentifier=%i-koha-worker
[Install]
WantedBy=multi-user.target