3
0
Fork 0
forked from mirrors/nixpkgs

toxvpn service: doesn't require online network

Tested that it detects network changes quickly.
This commit is contained in:
Franz Pletz 2016-09-11 08:16:55 +02:00
parent c58654e2b7
commit 5c38882f38
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -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