21 lines
373 B
Text
21 lines
373 B
Text
|
[Unit]
|
||
|
Description=Zammad scheduler
|
||
|
After=syslog.target
|
||
|
After=network.target
|
||
|
After=zammad.service
|
||
|
Requires=zammad.service
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
EnvironmentFile=/etc/zammad/zammad.env
|
||
|
User=zammad
|
||
|
Group=zammad
|
||
|
Restart=always
|
||
|
|
||
|
WorkingDirectory={{ zammad_home }}
|
||
|
|
||
|
ExecStart=/bin/bash -l -c "${BUNDLE_BINARY} exec script/scheduler.rb start"
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=zammad.service
|