diff --git a/debian/templates/koha-worker@.service b/debian/templates/koha-worker@.service index 53c12ed321..826ae87abc 100644 --- a/debian/templates/koha-worker@.service +++ b/debian/templates/koha-worker@.service @@ -5,6 +5,7 @@ Description=Koha Task Queue Worker After=syslog.target network.target [Service] +User=%i-koha 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