bundles/mx-puppet-discord: add RestartSec= to systemd unit file

This commit is contained in:
Franzi 2020-11-07 09:40:22 +01:00
parent 7ab121e7e5
commit 88afba9ce9
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -8,6 +8,7 @@ Group=mx-puppet-discord
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/
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target