tinc: don't restart on upgrade

This commit is contained in:
Jörg Thalheim 2021-09-14 10:56:48 +02:00
parent 23af1c4824
commit 5d5ecd9854

View File

@ -72,6 +72,9 @@ in {
serviceConfig.ExecReload = "${config.services.tinc.networks.${netname}.package}/bin/tinc -n ${netname} reload";
};
# this triggers tinc restarts and it is pointless to restart tinc after the key has been created
systemd.services."tinc.${netname}-host-keys".restartIfChanged = true;
networking.firewall.allowedTCPPorts = [ 655 ];
networking.firewall.allowedUDPPorts = [ 655 ];