2019-03-12 17:56:12 +01:00
|
|
|
# {{ 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
|
2019-03-30 13:26:20 +01:00
|
|
|
User={{ service_user }}
|
|
|
|
WorkingDirectory={{ service_path }}
|
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
|
2019-03-12 17:56:12 +01:00
|
|
|
Restart=always
|
2019-03-30 13:26:20 +01:00
|
|
|
RestartSec=3
|
2019-03-12 17:56:12 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|