2020-04-04 16:21:40 +00:00
|
|
|
[Unit]
|
|
|
|
Description=mx-puppet-discord
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=mx-puppet-discord
|
|
|
|
Group=mx-puppet-discord
|
2020-11-07 08:08:10 +00:00
|
|
|
ExecStart=/usr/bin/node /opt/mx-puppet-discord/src/build/index.js -c /opt/mx-puppet-discord/config.yaml -f /opt/mx-puppet-discord/registration.yaml
|
|
|
|
WorkingDirectory=/opt/mx-puppet-discord/src/
|
2020-04-04 16:21:40 +00:00
|
|
|
Restart=on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|