ansible-role-zammad/templates/systemd/zammad-rails.service.j2
phil a9c6185b64 zammad: Deaktiviere notify-Service.
Dienst startet ansonsten nicht
2022-10-30 12:51:31 +01:00

21 lines
453 B
Django/Jinja

[Unit]
Description=Zammad rails server
After=syslog.target
After=network.target
After=zammad.service
Requires=zammad.service
[Service]
#Type=notify
#WatchdogSec=10
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/rails server -b ${ZAMMAD_BIND_IP} -p ${ZAMMAD_RAILS_PORT}"
[Install]
WantedBy=zammad.service