18 lines
555 B
Text
18 lines
555 B
Text
|
# {{ 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
|
||
|
ExecStart=/usr/bin/nodejs /var/local/matrix-appservice-webhooks/matrix-appservice-webhooks/app.js -c config.yaml -f my_registration_file.yaml -p 9999
|
||
|
Restart=always
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|