1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wireguard_ynh.git synced 2024-09-03 20:35:58 +02:00

Sudo is needed for restarting the interface

This commit is contained in:
tituspijean 2021-07-04 23:44:05 +02:00
parent 1aa6a6cde7
commit cd94c2224e

View file

@ -6,4 +6,4 @@ After=network.target
Type=oneshot
User=__APP__
Group=__APP__
ExecStart=/usr/bin/systemctl restart wg-quick@wg0.service
ExecStart=sudo /usr/bin/systemctl restart wg-quick@wg0.service