nixos/tinc: remove restartTriggers

```restartTriggers``` pointed to the constant files in ```/nix/store/``` and had to effect.
This commit is contained in:
volth 2017-07-26 14:46:24 +00:00 committed by Franz Pletz
parent c4e26aff22
commit eaa2d27b90

View file

@ -164,8 +164,6 @@ in
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
path = [ data.package ];
restartTriggers = [ config.environment.etc."tinc/${network}/tinc.conf".source ]
++ mapAttrsToList (host: _ : config.environment.etc."tinc/${network}/hosts/${host}".source) data.hosts;
serviceConfig = {
Type = "simple";
PIDFile = "/run/tinc.${network}.pid";