mirror of
https://gitea.0xace.cc/ansible-galaxy/wireguard-ui.git
synced 2024-11-24 23:36:41 +00:00
11 lines
268 B
Plaintext
11 lines
268 B
Plaintext
|
[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(".")[0] }}.service
|
||
|
|
||
|
[Install]
|
||
|
RequiredBy=wireguard-ui-watcher.path
|