Replace path trigger to binding to WireGuard device

This commit is contained in:
2023-06-04 12:05:00 +02:00
parent a12f4d19c3
commit 98f87c33bd
4 changed files with 6 additions and 12 deletions

View File

@ -1,5 +1,6 @@
[Unit]
Description=Update IP routes after connecting to VPN
BindsTo=sys-subsystem-net-devices-wg0.device
[Service]
Type=oneshot