bundlewrap/bundles/mx-puppet-discord/files/service

13 lines
312 B
Text

[Unit]
Description=mx-puppet-discord
After=network.target
[Service]
User=mx-puppet-discord
Group=mx-puppet-discord
ExecStart=/usr/bin/node /opt/mx-puppet-discord/build/index.js -c config.yaml -f registration.yaml
WorkingDirectory=/opt/mx-puppet-discord/
Restart=on-failure
[Install]
WantedBy=multi-user.target