mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-19 19:59:13 +03:00
Changed wgui.service
Changed wgui.service to call additional restart-wg.sh file.
This commit is contained in:
parent
5986e1a7d0
commit
aae63d1af9
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ After=network.target
|
|||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/bash -c 'wg syncconf wg0 <(wg-quick strip wg0)'
|
||||
ExecStart=/bin/bash /DIR-TO-RESTART-FILE/restart-wg.sh
|
||||
|
||||
[Install]
|
||||
RequiredBy=wgui.path
|
||||
|
|
Loading…
Add table
Reference in a new issue