mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-06-08 00:56:58 +03:00
Changed wgui.service
Updated wgui.service to only apply changes, that were made to clients. Not fully tested, could cause issues with wg-quick specific options.
This commit is contained in:
parent
fdb36e4711
commit
5986e1a7d0
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/bin/systemctl restart wg-quick@wg0.service
|
ExecStart=/bin/bash -c 'wg syncconf wg0 <(wg-quick strip wg0)'
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
RequiredBy=wgui.path
|
RequiredBy=wgui.path
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue