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

Merge pull request #88 from astrowalker2013/patch-1

Update remove : delete wg0
This commit is contained in:
tituspijean 2023-08-17 13:32:11 +02:00 committed by GitHub
commit 5720c5ac94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,6 +34,9 @@ fi
#=================================================
ynh_script_progression --message="Stopping and removing the systemd service..." --weight=1
# Stop wg-quick service
systemctl stop wg-quick@wg0
# YunoHost does not handle services not ending with .service, let's remove it manually
systemctl stop wireguard@wg0.path
systemctl disable wireguard@wg0.path --quiet