Merge pull request #17295 from mayflower/tinc_service_restart_on_failure

tinc: add Restart in systemd serviceConfig
This commit is contained in:
Robin Gloster
2016-07-27 12:36:22 +02:00
committed by GitHub

View File

@@ -157,6 +157,7 @@ in
serviceConfig = {
Type = "simple";
PIDFile = "/run/tinc.${network}.pid";
Restart = "on-failure";
};
preStart = ''
mkdir -p /etc/tinc/${network}/hosts