Changed wgui.service

Changed wgui.service to call additional restart-wg.sh file.
This commit is contained in:
Arminas 2023-02-10 15:18:14 +02:00 committed by GitHub
parent 5986e1a7d0
commit aae63d1af9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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