diff options
author | Tristan Helmich <tristan.helmich@gmail.com> | 2016-07-27 10:37:56 +0200 |
---|---|---|
committer | Tristan Helmich <tristan.helmich@gmail.com> | 2016-07-27 10:38:57 +0200 |
commit | c9b96923474736bb47eee3e014c7c072f719a720 (patch) | |
tree | 4d676d75b5cac0ae28919d61d920008d1d08c725 /nixos/modules | |
parent | e412f2199a8e31d22c0ffa178c29c97c8e308983 (diff) | |
download | nixlib-c9b96923474736bb47eee3e014c7c072f719a720.tar nixlib-c9b96923474736bb47eee3e014c7c072f719a720.tar.gz nixlib-c9b96923474736bb47eee3e014c7c072f719a720.tar.bz2 nixlib-c9b96923474736bb47eee3e014c7c072f719a720.tar.lz nixlib-c9b96923474736bb47eee3e014c7c072f719a720.tar.xz nixlib-c9b96923474736bb47eee3e014c7c072f719a720.tar.zst nixlib-c9b96923474736bb47eee3e014c7c072f719a720.zip |
tinc: add Restart in systemd service config
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/networking/tinc.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/tinc.nix b/nixos/modules/services/networking/tinc.nix index 9330e6c92ba8..8da0f817ae2a 100644 --- a/nixos/modules/services/networking/tinc.nix +++ b/nixos/modules/services/networking/tinc.nix @@ -157,6 +157,7 @@ in serviceConfig = { Type = "simple"; PIDFile = "/run/tinc.${network}.pid"; + Restart = "on-failure"; }; preStart = '' mkdir -p /etc/tinc/${network}/hosts |