nixos/tinc: remove restartTriggers
```restartTriggers``` pointed to the constant files in ```/nix/store/``` and had to effect.
This commit is contained in:
parent
c4e26aff22
commit
eaa2d27b90
@ -164,8 +164,6 @@ in
|
|||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
path = [ data.package ];
|
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 = {
|
serviceConfig = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
PIDFile = "/run/tinc.${network}.pid";
|
PIDFile = "/run/tinc.${network}.pid";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user