ansible-role-zammad/templates/systemd/zammad-rails.service.j2

22 lines
453 B
Text
Raw Normal View History

2021-07-28 18:28:22 +02:00
[Unit]
Description=Zammad rails server
After=syslog.target
After=network.target
After=zammad.service
Requires=zammad.service
[Service]
#Type=notify
#WatchdogSec=10
2021-07-28 18:28:22 +02:00
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 }}
ExecStart=/bin/bash -l -c "${BUNDLE_BINARY} exec script/rails server -b ${ZAMMAD_BIND_IP} -p ${ZAMMAD_RAILS_PORT}"
[Install]
WantedBy=zammad.service