16 lines
254 B
SYSTEMD
16 lines
254 B
SYSTEMD
|
{{ ansible_managed | comment }}
|
||
|
|
||
|
[Unit]
|
||
|
Description = Discord Bridge
|
||
|
|
||
|
[Service]
|
||
|
Environment=NODE_PORT=3000
|
||
|
Type=simple
|
||
|
User=root
|
||
|
Restart=on-failure
|
||
|
WorkingDirectory=/srv/matrix-appservice-discord
|
||
|
ExecStart=npm start
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|