ansible/roles/matrix-appservice-webhooks/templates/systemd/matrix-appservice-webhooks.service.j2

18 lines
511 B
Text
Raw Normal View History

# {{ ansible_managed }}
[Unit]
Description=A bridge between Matrix and WebHooks
After=syslog.target network-online.target mysql.service postgresql.service
Conflicts=shutdown.target
[Service]
Type=simple
User=matrix-appservice-webhooks
Group=matrix-appservice-webhooks
WorkingDirectory=/var/local/matrix-appservice-webhooks/matrix-appservice-webhooks
2019-03-12 18:33:32 +01:00
ExecStart=/usr/bin/nodejs index.js -p 9000 -c config/config.yaml -f appservice-registration-webhooks.yaml
Restart=always
[Install]
WantedBy=multi-user.target