Zammad: Update worker service file
This commit is contained in:
parent
969493b4c7
commit
dd490795b3
2 changed files with 3 additions and 4 deletions
|
@ -7,7 +7,7 @@
|
|||
loop:
|
||||
- zammad.service
|
||||
- zammad-rails.service
|
||||
- zammad-scheduler.service
|
||||
- zammad-worker.service
|
||||
- zammad-websocket.service
|
||||
|
||||
- name: "systemd | Erstelle Konfigurationsverzeichnis"
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
[Unit]
|
||||
Description=Zammad scheduler
|
||||
Description=Zammad Background Worker
|
||||
After=syslog.target
|
||||
After=network.target
|
||||
After=zammad.service
|
||||
Requires=zammad.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
EnvironmentFile=/etc/zammad/zammad.env
|
||||
User={{ zammad_user }}
|
||||
Group={{ zammad_user }}
|
||||
|
@ -14,7 +13,7 @@ Restart=always
|
|||
|
||||
WorkingDirectory={{ zammad_home }}
|
||||
|
||||
ExecStart=/bin/bash -l -c "${BUNDLE_BINARY} exec script/scheduler.rb start"
|
||||
ExecStart=/bin/bash -l -c "${BUNDLE_BINARY} exec script/background-worker.rb start"
|
||||
|
||||
[Install]
|
||||
WantedBy=zammad.service
|
Loading…
Reference in a new issue