nixy/wireguard/proton: add service dependency relations
This commit is contained in:
parent
6d08a3883f
commit
8509f81135
@ -215,7 +215,9 @@
|
||||
description = "wg network interface";
|
||||
bindsTo = ["netns@wg.service"];
|
||||
requires = ["network-online.target"];
|
||||
wants = ["dnscrypt-proxy2_proton.service"];
|
||||
after = ["netns@wg.service"];
|
||||
before = ["dnscrypt-proxy2_proton.service"];
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
@ -249,11 +251,9 @@
|
||||
"network-online.target"
|
||||
"nss-lookup.target"
|
||||
];
|
||||
before = [
|
||||
"nss-lookup.target"
|
||||
];
|
||||
before = ["nss-lookup.target"];
|
||||
after = ["wg_proton.service"];
|
||||
bindsTo = ["netns@wg.service"];
|
||||
partOf = ["wg_proton.service"];
|
||||
serviceConfig = {
|
||||
AmbientCapabilities = "CAP_NET_BIND_SERVICE";
|
||||
CacheDirectory = "dnscrypt-proxy";
|
||||
|
Loading…
Reference in New Issue
Block a user