From: Samir Benmendil Date: Sat, 11 Mar 2023 18:21:18 +0000 (+0000) Subject: systemd: restart checkupdates on failure X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/221edfc351485b67f944e21df86078144220aae7 systemd: restart checkupdates on failure --- diff --git a/systemd/system/checkupdates.service b/systemd/system/checkupdates.service index 5cabb6a..4980870 100644 --- a/systemd/system/checkupdates.service +++ b/systemd/system/checkupdates.service @@ -7,3 +7,5 @@ Type=oneshot ExecStart=/usr/bin/checkupdates -d # checkupdates returns 2 when there are no updates SuccessExitStatus=2 +Restart=on-failure +RestartSec=5min