nixos/zerotier: binds to network-online.target to avoid the 1m30s timeout before kill on shutdown
This commit is contained in:
parent
678e28dfd5
commit
c8c1ed2c78
@ -39,7 +39,8 @@ in
|
|||||||
systemd.services.zerotierone = {
|
systemd.services.zerotierone = {
|
||||||
description = "ZeroTierOne";
|
description = "ZeroTierOne";
|
||||||
path = [ cfg.package ];
|
path = [ cfg.package ];
|
||||||
after = [ "network.target" ];
|
bindsTo = [ "network-online.target" ];
|
||||||
|
after = [ "network-online.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
preStart = ''
|
preStart = ''
|
||||||
mkdir -p /var/lib/zerotier-one/networks.d
|
mkdir -p /var/lib/zerotier-one/networks.d
|
||||||
|
Loading…
x
Reference in New Issue
Block a user