From e74dcc77bbbf270155a7894e93846da24ac16095 Mon Sep 17 00:00:00 2001 From: ace Date: Wed, 13 Jul 2022 15:42:55 +0300 Subject: [PATCH] fix templates --- templates/wireguard-ui-watcher.service.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/wireguard-ui-watcher.service.j2 b/templates/wireguard-ui-watcher.service.j2 index 325cb9c..9b9578f 100644 --- a/templates/wireguard-ui-watcher.service.j2 +++ b/templates/wireguard-ui-watcher.service.j2 @@ -4,7 +4,7 @@ After=network.target [Service] Type=oneshot -ExecStart=/usr/bin/systemctl restart wg-quick@{{ wireguard_ui_env['WGUI_CONFIG_FILE_PATH'] | basename | split(".")[0] }}.service +ExecStart=/usr/bin/systemctl restart wg-quick@{{ wireguard_ui_env['WGUI_CONFIG_FILE_PATH'] | basename | split('.')[0] }}.service [Install] -RequiredBy=wireguard-ui-watcher.path +RequiredBy={{ wireguard_ui_watcher_systemd_path_unit_name }}