]> git.rmz.io Git - dotfiles.git/commitdiff
systemd: restart checkupdates on failure
authorSamir Benmendil <me@rmz.io>
Sat, 11 Mar 2023 18:21:18 +0000 (18:21 +0000)
committerSamir Benmendil <me@rmz.io>
Sat, 11 Mar 2023 18:36:19 +0000 (18:36 +0000)
systemd/system/checkupdates.service

index 5cabb6adde309306780d88da4192115eb2b24519..498087000e00b4d9c208727f1351d44eeb3525f3 100644 (file)
@@ -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