diff options
author | makefu <github@syntax-fehler.de> | 2015-12-03 20:39:29 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-12-03 20:39:29 +0100 |
commit | 597f9e8597c95ac9e4cba1689322c433bb0c9a75 (patch) | |
tree | 35c1754cb99e6de3bb4af896c003bcbaf9c391de /krebs/3modules | |
parent | 0b76b1081eb89aabd07225380659d79c881ab9f9 (diff) |
k 3 tinc_graphs: add timeout
Diffstat (limited to 'krebs/3modules')
-rw-r--r-- | krebs/3modules/tinc_graphs.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/tinc_graphs.nix b/krebs/3modules/tinc_graphs.nix index 20aa385a9..ba81dd416 100644 --- a/krebs/3modules/tinc_graphs.nix +++ b/krebs/3modules/tinc_graphs.nix @@ -91,6 +91,7 @@ let restartIfChanged = true; serviceConfig = { Type = "simple"; + TimeoutSec = 300; # we will wait 5 minutes, kill otherwise restart = "always"; ExecStartPre = pkgs.writeScript "tinc_graphs-init" '' @@ -103,7 +104,6 @@ let cp -fr "$(${pkgs.tinc_graphs}/bin/tincstats-static-dir)/external/." "${external_dir}" fi ''; - ExecStart = "${pkgs.tinc_graphs}/bin/all-the-graphs"; ExecStartPost = pkgs.writeScript "tinc_graphs-post" '' |