zammad-rails.service 396 B

12345678910111213141516171819
  1. [Unit]
  2. Description=Zammad rails server
  3. After=syslog.target
  4. After=network.target
  5. After=zammad.service
  6. Requires=zammad.service
  7. [Service]
  8. EnvironmentFile=/etc/zammad/zammad.env
  9. User=zammad
  10. Group=zammad
  11. Restart=always
  12. WorkingDirectory=/opt/zammad
  13. ExecStart=/bin/bash -l -c "${BUNDLE_BINARY} exec script/rails server -b ${ZAMMAD_BIND_IP} -p ${ZAMMAD_RAILS_PORT}"
  14. [Install]
  15. WantedBy=zammad.service