mirror of
https://gitea.0xace.cc/ansible-galaxy/wireguard-ui.git
synced 2025-06-28 18:53:08 +00:00
fix deploy and bump to 0.4.0
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
{
|
||||
"username": "{{ wireguard_ui_env['WGUI_USERNAME'] }}",
|
||||
"password": "{{ wireguard_ui_env['WGUI_PASSWORD'] }}"
|
||||
"username": "{{ wireguard_ui_combined_env['WGUI_USERNAME'] }}",
|
||||
"password": "{{ wireguard_ui_combined_env['WGUI_PASSWORD'] }}"
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
[Unit]
|
||||
Description=Watch {{ wireguard_ui_env['WGUI_CONFIG_FILE_PATH'] }} for changes
|
||||
Description=Watch {{ wireguard_ui_combined_env['WGUI_CONFIG_FILE_PATH'] }} for changes
|
||||
|
||||
[Path]
|
||||
PathModified={{ wireguard_ui_env['WGUI_CONFIG_FILE_PATH'] }}
|
||||
PathModified={{ wireguard_ui_combined_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_env['WGUI_CONFIG_FILE_PATH'] | basename | split('.') | first }}.service
|
||||
ExecStart=/usr/bin/systemctl restart wg-quick@{{ wireguard_ui_combined_env['WGUI_CONFIG_FILE_PATH'] | basename | split('.') | first }}.service
|
||||
|
||||
[Install]
|
||||
RequiredBy={{ wireguard_ui_watcher_systemd_path_unit_name }}
|
||||
|
Reference in New Issue
Block a user