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 = {
|
||||
description = "ZeroTierOne";
|
||||
path = [ cfg.package ];
|
||||
after = [ "network.target" ];
|
||||
bindsTo = [ "network-online.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
preStart = ''
|
||||
mkdir -p /var/lib/zerotier-one/networks.d
|
||||
|
Loading…
Reference in New Issue
Block a user