ansible/roles/matrix-bridge-discord/templates/bridge_discord.service

16 lines
254 B
SYSTEMD
Raw Normal View History

2021-08-06 04:55:58 +02:00
{{ 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