tinc: add Restart in systemd service config

This commit is contained in:
Tristan Helmich 2016-07-27 10:37:56 +02:00
parent e412f2199a
commit c9b9692347

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