20 lines
416 B
Text
20 lines
416 B
Text
|
[Unit]
|
||
|
Description=Zammad websocket
|
||
|
After=syslog.target
|
||
|
After=network.target
|
||
|
After=zammad.service
|
||
|
Requires=zammad.service
|
||
|
|
||
|
[Service]
|
||
|
EnvironmentFile=/etc/zammad/zammad.env
|
||
|
User=zammad
|
||
|
Group=zammad
|
||
|
Restart=always
|
||
|
|
||
|
WorkingDirectory={{ zammad_home }}
|
||
|
|
||
|
ExecStart=/bin/bash -l -c "${BUNDLE_BINARY} exec script/websocket-server.rb -b ${ZAMMAD_BIND_IP} -p ${ZAMMAD_WEBSOCKET_PORT} start"
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=zammad.service
|