ansible/roles/matrix-appservice-irc/templates/systemd/appservice.service.j2
2019-03-30 13:26:20 +01:00

17 lines
413 B
Django/Jinja

# {{ ansible_managed }}
[Unit]
Description=A bridge between Matrix and IRC
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 ./app.js -c config.yaml -f my_registration_file.yaml -p 9999
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target