mirror of
https://gitea.0xace.cc/ansible-galaxy/wireguard-ui.git
synced 2024-11-24 23:36:41 +00:00
fix templates
This commit is contained in:
parent
4bb14575d6
commit
14158de481
@ -1,8 +1,8 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Watch {{ wireguard_ui_combined_env['WGUI_CONFIG_FILE_PATH'] }} for changes
|
Description=Watch {{ wireguard_ui_env['WGUI_CONFIG_FILE_PATH'] }} for changes
|
||||||
|
|
||||||
[Path]
|
[Path]
|
||||||
PathModified={{ wireguard_ui_combined_env['WGUI_CONFIG_FILE_PATH'] }}
|
PathModified={{ wireguard_ui_env['WGUI_CONFIG_FILE_PATH'] }}
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -4,7 +4,7 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/bin/systemctl restart wg-quick@{{ wireguard_ui_combined_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]
|
[Install]
|
||||||
RequiredBy=wireguard-ui-watcher.path
|
RequiredBy=wireguard-ui-watcher.path
|
||||||
|
Loading…
Reference in New Issue
Block a user