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:
commit
5720c5ac94
1 changed files with 3 additions and 0 deletions
|
@ -34,6 +34,9 @@ fi
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Stopping and removing the systemd service..." --weight=1
|
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
|
# YunoHost does not handle services not ending with .service, let's remove it manually
|
||||||
systemctl stop wireguard@wg0.path
|
systemctl stop wireguard@wg0.path
|
||||||
systemctl disable wireguard@wg0.path --quiet
|
systemctl disable wireguard@wg0.path --quiet
|
||||||
|
|
Loading…
Add table
Reference in a new issue