mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-19 19:59:13 +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]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/systemctl restart wg-quick@wg0.service
|
||||
ExecStart=/bin/bash -c 'wg syncconf wg0 <(wg-quick strip wg0)'
|
||||
|
||||
[Install]
|
||||
RequiredBy=wgui.path
|
||||
|
|
Loading…
Add table
Reference in a new issue