ansible-role-zammad/templates/systemd/zammad-scheduler.service.j2
2021-11-13 08:39:24 +01:00

20 lines
395 B
Django/Jinja

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