19 lines
530 B
Text
19 lines
530 B
Text
|
# {{ ansible_managed }}
|
||
|
|
||
|
[Unit]
|
||
|
Description=A bridge between Matrix and Discord
|
||
|
After=syslog.target network-online.target mysql.service postgresql.service
|
||
|
Conflicts=shutdown.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User=matrix-appservice-discord
|
||
|
Group=matrix-appservice-discord
|
||
|
WorkingDirectory=/var/local/matrix-appservice-discord/matrix-appservice-discord
|
||
|
Environment="NODE_ENV=production"
|
||
|
ExecStart=/usr/bin/nodejs /var/local/matrix-appservice-discord/matrix-appservice-discord/app.js
|
||
|
Restart=always
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|