1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calibreweb_ynh.git synced 2024-09-03 18:16:20 +02:00

Correct service deletion

This commit is contained in:
Krakinou 2018-12-23 10:36:40 +01:00
parent a742435eba
commit 74411915c6

View file

@ -19,16 +19,6 @@ port=$(ynh_app_setting_get $app port)
final_path=$(ynh_app_setting_get $app final_path)
calibre_dir=$(ynh_app_setting_get $app calibre_dir)
#=================================================
# STANDARD REMOVE
#=================================================
# STOP AND REMOVE SERVICE
#=================================================
# Remove the dedicated systemd config
ynh_print_info "Removing systemd"
ynh_remove_systemd_config
#=================================================
# REMOVE SERVICE FROM ADMIN PANEL
#=================================================
@ -40,6 +30,18 @@ then
yunohost service remove $app
fi
#=================================================
# STANDARD REMOVE
#=================================================
# STOP AND REMOVE SERVICE
#=================================================
# Remove the dedicated systemd config
ynh_print_info "Removing systemd"
ynh_remove_systemd_config
#=================================================
# REMOVE DEPENDENCIES
#=================================================