17 lines
437 B
Django/Jinja
17 lines
437 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={{ service_user }}
|
|
WorkingDirectory={{ service_path }}
|
|
ExecStart=/usr/bin/nodejs index.js -p 9000 -c config/config.yaml -f appservice-registration-webhooks.yaml
|
|
Restart=always
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|