forked from mirrors/nixpkgs
toxvpn service: doesn't require online network
Tested that it detects network changes quickly.
This commit is contained in:
parent
c58654e2b7
commit
5c38882f38
|
@ -25,8 +25,8 @@ with lib;
|
|||
systemd.services.toxvpn = {
|
||||
description = "toxvpn daemon";
|
||||
|
||||
requires = [ "network-online.target" ]; # consider replacing by NetworkManager-wait-online.service
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network.target" ];
|
||||
|
||||
preStart = ''
|
||||
mkdir -p /run/toxvpn || true
|
||||
|
|
Loading…
Reference in a new issue