summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2021-09-06 18:51:51 +0200
committerJörg Thalheim <joerg@thalheim.io>2021-09-06 18:53:21 +0200
commit9cebb569811fb7975ca45997b3eb46e518397bec (patch)
treed466b334d40f79437b1a925b1fc5f4c057b9277c
parent5129440d6f13676cdeb998e6db705f820d9fbbbd (diff)
mic92: restart realwallpaper on failure
-rw-r--r--krebs/3modules/realwallpaper.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/krebs/3modules/realwallpaper.nix b/krebs/3modules/realwallpaper.nix
index 76f333963..1fa6012cf 100644
--- a/krebs/3modules/realwallpaper.nix
+++ b/krebs/3modules/realwallpaper.nix
@@ -51,6 +51,7 @@ let
serviceConfig = {
Type = "simple";
+ Restart = "on-failure";
ExecStart = "${pkgs.realwallpaper}/bin/generate-wallpaper";
User = "realwallpaper";
};