mirror of
https://gitea.0xace.cc/ansible-galaxy/wireguard-ui.git
synced 2024-11-29 01:36:39 +00:00
11 lines
297 B
Django/Jinja
11 lines
297 B
Django/Jinja
[Unit]
|
|
Description=Restart WireGuard
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
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 }}
|