summary refs log tree commit diff
path: root/nixos/modules/services/cluster/kubernetes/proxy.nix
diff options
context:
space:
mode:
authorAdam Finn Tulinius <atu@dbc.dk>2019-02-21 14:34:22 +0100
committerAdam Finn Tulinius <atu@dbc.dk>2019-02-21 14:57:57 +0100
commit291c80988801b4c7a59e722762a1993b70f707c7 (patch)
treefa51b367787b8b51cb23362a6bf891edf571be50 /nixos/modules/services/cluster/kubernetes/proxy.nix
parent49d963855abe393a57f7778e08f08bfe299f0299 (diff)
downloadnixpkgs-291c80988801b4c7a59e722762a1993b70f707c7.tar
nixpkgs-291c80988801b4c7a59e722762a1993b70f707c7.tar.gz
nixpkgs-291c80988801b4c7a59e722762a1993b70f707c7.tar.bz2
nixpkgs-291c80988801b4c7a59e722762a1993b70f707c7.tar.lz
nixpkgs-291c80988801b4c7a59e722762a1993b70f707c7.tar.xz
nixpkgs-291c80988801b4c7a59e722762a1993b70f707c7.tar.zst
nixpkgs-291c80988801b4c7a59e722762a1993b70f707c7.zip
nixos/kubernetes: add missing systemd restart options
Diffstat (limited to 'nixos/modules/services/cluster/kubernetes/proxy.nix')
-rw-r--r--nixos/modules/services/cluster/kubernetes/proxy.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/cluster/kubernetes/proxy.nix b/nixos/modules/services/cluster/kubernetes/proxy.nix
index 6bcf2eaca82..83cd3e23100 100644
--- a/nixos/modules/services/cluster/kubernetes/proxy.nix
+++ b/nixos/modules/services/cluster/kubernetes/proxy.nix
@@ -64,6 +64,8 @@ in
           ${cfg.extraOpts}
         '';
         WorkingDirectory = top.dataDir;
+        Restart = "on-failure";
+        RestartSec = 5;
       };
     };