Koha 22.11.00 Rosalie is here!
[koha.git] / etc / koha-worker.service
1 # koha-worker.service
2 [Unit]
3 Description=Koha Task Queue Worker
4 After=syslog.target network.target
5
6 [Service]
7 Environment=PERL5LIB=__PERL5LIB_DIRS__
8 Environment=KOHA_CONF=__KOHA_CONF_DIR__/koha-conf.xml
9 ExecStart=__SCRIPT_DIR__/background_jobs_worker.pl
10 Restart=on-failure
11 RestartSec=5s
12 StartLimitBurst=3
13 StartLimitInterval=60
14 SyslogIdentifier=__DB_NAME__-koha-worker
15
16 [Install]
17 WantedBy=multi-user.target