git.iko.soy/typeable/nixpkgs
on master help sign in
toxvpn service: doesn't require online network

Tested that it detects network changes quickly.

commit5c38882f38daada4704b8f0efe9e1b5a01fcfa41 authorFranz Pletz <fpletz@fnordicwalking.de> dateSun 11 Sep 2016, 08:16 (10 years ago) parentc58654e
1 file changed+1−1
nixos/modules/services/networking/toxvpn.nix+1−1
nixos/modules/services/networking/toxvpn.nix+1−1
@@ -25,8 +25,8 @@ with lib;
2525 systemd.services.toxvpn = {
2626 description = "toxvpn daemon";
2727
28− requires = [ "network-online.target" ]; # consider replacing by NetworkManager-wait-online.service
2928 wantedBy = [ "multi-user.target" ];
29+ after = [ "network.target" ];
3030
3131 preStart = ''
3232 mkdir -p /run/toxvpn || true