From b4fb985c72f8d36c6fd03089e65e47666642c7e2 Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Sat, 3 Jun 2023 18:16:45 +0200 Subject: [PATCH] Add install instructions in service --- systemd-templates/set-ip-routes.service | 3 +++ 1 file changed, 3 insertions(+) diff --git a/systemd-templates/set-ip-routes.service b/systemd-templates/set-ip-routes.service index 86e22ef..8120eb1 100644 --- a/systemd-templates/set-ip-routes.service +++ b/systemd-templates/set-ip-routes.service @@ -7,3 +7,6 @@ ExecStart=/usr/sbin/ip route del default dev wg0 ExecStart=/usr/sbin/ip route add PH_DNS dev wg0 ExecStart=/usr/sbin/ip route add PH_NETWORK dev wg0 ExecStart=/storage/libreelec-conf/set-resolv-conf.sh + +[Install] +WantedBy=default.target