trabajo-afectivo/script/systemd/zammad-scheduler.service
2017-10-03 12:50:29 +02:00

20 lines
367 B
Desktop File

[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=/opt/zammad
ExecStart=/bin/bash -l -c "${BUNDLE_BINARY} exec script/scheduler.rb start"
[Install]
WantedBy=zammad.service