diff options
Diffstat (limited to 'roles/gateway')
| -rw-r--r-- | roles/gateway/templates/99-wireguard-gateway.rules.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/gateway/templates/99-wireguard-gateway.rules.j2 b/roles/gateway/templates/99-wireguard-gateway.rules.j2 index a4164bc3..6bc5d2a0 100644 --- a/roles/gateway/templates/99-wireguard-gateway.rules.j2 +++ b/roles/gateway/templates/99-wireguard-gateway.rules.j2 @@ -1,2 +1,2 @@ ACTION=="add", SUBSYSTEM=="net", KERNEL=="wg*", TAG+="systemd", ENV{SYSTEMD_WANTS}="gateway-vpn-mode.service" -ACTION=="remove", SUBSYSTEM=="net", KERNEL=="wg*", TAG+="systemd", ENV{SYSTEMD_WANTS}="gateway-direct-mode.service" +ACTION=="remove", SUBSYSTEM=="net", KERNEL=="wg*", RUN+="/usr/bin/systemctl start gateway-direct-mode.service" |
