fix templates

This commit is contained in:
ace 2022-07-13 15:51:36 +03:00
parent e74dcc77bb
commit 3084a0e59c
No known key found for this signature in database
GPG Key ID: 2E47CC17BA7F8CF0

View File

@ -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 }}