mirror of
https://github.com/YunoHost-Apps/hotspot_ynh.git
synced 2024-09-03 19:25:53 +02:00
Use 'yunohost service' in remove script
This commit is contained in:
parent
b9bce541d1
commit
3a9ade4d98
1 changed files with 2 additions and 2 deletions
|
@ -36,8 +36,8 @@ domain=$(ynh_app_setting_get $app domain)
|
||||||
firmware_nonfree=$(ynh_app_setting_get $app firmware_nonfree)
|
firmware_nonfree=$(ynh_app_setting_get $app firmware_nonfree)
|
||||||
|
|
||||||
# The End
|
# The End
|
||||||
systemctl stop ynh-hotspot
|
yunohost service stop ynh-hotspot
|
||||||
systemctl disable ynh-hotspot
|
yunohost service disable ynh-hotspot
|
||||||
yunohost service remove ynh-hotspot
|
yunohost service remove ynh-hotspot
|
||||||
ynh_secure_remove /etc/systemd/system/ynh-hotspot.service
|
ynh_secure_remove /etc/systemd/system/ynh-hotspot.service
|
||||||
ynh_secure_remove /usr/local/bin/ynh-hotspot
|
ynh_secure_remove /usr/local/bin/ynh-hotspot
|
||||||
|
|
Loading…
Add table
Reference in a new issue