mirror of
https://gitea.0xace.cc/ansible-galaxy/wireguard-ui.git
synced 2024-11-24 15:26:41 +00:00
fix templates
This commit is contained in:
parent
4bb14575d6
commit
14158de481
@ -1,8 +1,8 @@
|
||||
[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]
|
||||
PathModified={{ wireguard_ui_combined_env['WGUI_CONFIG_FILE_PATH'] }}
|
||||
PathModified={{ wireguard_ui_env['WGUI_CONFIG_FILE_PATH'] }}
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -4,7 +4,7 @@ After=network.target
|
||||
|
||||
[Service]
|
||||
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]
|
||||
RequiredBy=wireguard-ui-watcher.path
|
||||
|
Loading…
Reference in New Issue
Block a user