fix templates

This commit is contained in:
ace 2022-07-13 15:42:55 +03:00
parent 14158de481
commit e74dcc77bb
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('.')[0] }}.service
[Install]
RequiredBy=wireguard-ui-watcher.path
RequiredBy={{ wireguard_ui_watcher_systemd_path_unit_name }}