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 = {
|
systemd.services.toxvpn = {
|
||||||
description = "toxvpn daemon";
|
description = "toxvpn daemon";
|
||||||
|
|
||||||
requires = [ "network-online.target" ]; # consider replacing by NetworkManager-wait-online.service
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
after = [ "network.target" ];
|
||||||
|
|
||||||
preStart = ''
|
preStart = ''
|
||||||
mkdir -p /run/toxvpn || true
|
mkdir -p /run/toxvpn || true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user