mirror of
https://github.com/YunoHost-Apps/wireguard_ynh.git
synced 2024-09-03 20:35:58 +02:00
[fix] remove superfluous service removal
This commit is contained in:
parent
4159ca1d1d
commit
619682a34d
2 changed files with 1 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
"en": "Web user interface to manage your WireGuard setup",
|
"en": "Web user interface to manage your WireGuard setup",
|
||||||
"fr": "Interface utilisateur Web pour gérer votre configuration WireGuard"
|
"fr": "Interface utilisateur Web pour gérer votre configuration WireGuard"
|
||||||
},
|
},
|
||||||
"version": "0.3.2~ynh1",
|
"version": "0.3.2~ynh2",
|
||||||
"url": "https://github.com/ngoduykhanh/wireguard-ui",
|
"url": "https://github.com/ngoduykhanh/wireguard-ui",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -105,7 +105,6 @@ fi
|
||||||
if systemctl list-units --full -all | grep -Fq "wireguard_ui_conf.service"; then
|
if systemctl list-units --full -all | grep -Fq "wireguard_ui_conf.service"; then
|
||||||
systemctl disable --now --quiet wireguard_ui_conf.service
|
systemctl disable --now --quiet wireguard_ui_conf.service
|
||||||
ynh_secure_remove --file="/etc/systemd/system/wireguard_ui_conf.service"
|
ynh_secure_remove --file="/etc/systemd/system/wireguard_ui_conf.service"
|
||||||
yunohost service remove wireguard_ui_conf
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue