about summary refs log tree commit diff
path: root/nixos/modules/services/home-automation/evcc.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/home-automation/evcc.nix')
-rw-r--r--nixos/modules/services/home-automation/evcc.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/home-automation/evcc.nix b/nixos/modules/services/home-automation/evcc.nix
index cf4043c946fa5..a952437b1b56e 100644
--- a/nixos/modules/services/home-automation/evcc.nix
+++ b/nixos/modules/services/home-automation/evcc.nix
@@ -63,6 +63,7 @@ in
         DynamicUser = true;
         LockPersonality = true;
         MemoryDenyWriteExecute = true;
+        Restart = "on-failure";
         RestrictAddressFamilies = [
           "AF_INET"
           "AF_INET6"