From 88afba9ce914ff3db6a223abb8a1e887a8e6af22 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 7 Nov 2020 09:40:22 +0100 Subject: [PATCH] bundles/mx-puppet-discord: add RestartSec= to systemd unit file --- bundles/mx-puppet-discord/files/service | 1 + 1 file changed, 1 insertion(+) diff --git a/bundles/mx-puppet-discord/files/service b/bundles/mx-puppet-discord/files/service index 4b80cc6..571ecfc 100644 --- a/bundles/mx-puppet-discord/files/service +++ b/bundles/mx-puppet-discord/files/service @@ -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