tinc service: remove use of network-interfaces.target
This commit is contained in:
parent
795defaae0
commit
768b333dc1
@ -149,8 +149,8 @@ in
|
|||||||
("tinc.${network}")
|
("tinc.${network}")
|
||||||
({
|
({
|
||||||
description = "Tinc Daemon - ${network}";
|
description = "Tinc Daemon - ${network}";
|
||||||
wantedBy = [ "network.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
after = [ "network-interfaces.target" ];
|
after = [ "network.target" ];
|
||||||
path = [ data.package ];
|
path = [ data.package ];
|
||||||
restartTriggers = [ config.environment.etc."tinc/${network}/tinc.conf".source ]
|
restartTriggers = [ config.environment.etc."tinc/${network}/tinc.conf".source ]
|
||||||
++ mapAttrsToList (host: _ : config.environment.etc."tinc/${network}/hosts/${host}".source) data.hosts;
|
++ mapAttrsToList (host: _ : config.environment.etc."tinc/${network}/hosts/${host}".source) data.hosts;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user