David Cook
782ae18779
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>
18 lines
449 B
Desktop File
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
|