]> git.rmz.io Git - dotfiles.git/blobdiff - systemd/system/checkupdates.service
systemd: restart checkupdates on failure
[dotfiles.git] / 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