2021-07-28 18:28:22 +02:00
|
|
|
[Unit]
|
2023-05-06 23:34:18 +02:00
|
|
|
Description=Zammad Background Worker
|
2021-07-28 18:28:22 +02:00
|
|
|
After=syslog.target
|
|
|
|
After=network.target
|
|
|
|
After=zammad.service
|
|
|
|
Requires=zammad.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
EnvironmentFile=/etc/zammad/zammad.env
|
2021-11-13 08:39:24 +01:00
|
|
|
User={{ zammad_user }}
|
|
|
|
Group={{ zammad_user }}
|
2021-07-28 18:28:22 +02:00
|
|
|
Restart=always
|
|
|
|
|
|
|
|
WorkingDirectory={{ zammad_home }}
|
|
|
|
|
2023-05-06 23:34:18 +02:00
|
|
|
ExecStart=/bin/bash -l -c "${BUNDLE_BINARY} exec script/background-worker.rb start"
|
2021-07-28 18:28:22 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=zammad.service
|