Add Systemd path as trigger for service

This commit is contained in:
alex committed 2023-06-03 12:54:27 +02:00
1 parent 513a95ec4b
commit 216702239d
3 files changed
+11 -4

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
[Unit]
Description=Detect WireGuard VPN activation
[Path]
PathExists=/sys/class/net/wg0
Unit=set-ip-routes.service