17 lines
555 B
Django/Jinja
17 lines
555 B
Django/Jinja
# {{ 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
|