git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #17295 from mayflower/tinc_service_restart_on_failure

tinc: add Restart in systemd serviceConfig

commitd116fd05c9e1a184712de3be6be91aea79b3c264 authorRobin Gloster <mail@glob.in> dateWed 27 Jul 2016, 12:36 (10 years ago) parent80b50ddc9b9692
1 file changed+1
nixos/modules/services/networking/tinc.nix+1
nixos/modules/services/networking/tinc.nix+1
@@ -157,6 +157,7 @@ in
157157 serviceConfig = {
158158 Type = "simple";
159159 PIDFile = "/run/tinc.${network}.pid";
160+ Restart = "on-failure";
160161 };
161162 preStart = ''
162163 mkdir -p /etc/tinc/${network}/hosts