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
e74dcc77bb
commit
3084a0e59c
@ -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('.') | first }}.service
|
||||
|
||||
[Install]
|
||||
RequiredBy={{ wireguard_ui_watcher_systemd_path_unit_name }}
|
||||
|
Loading…
Reference in New Issue
Block a user