1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lstu_ynh.git synced 2024-09-03 19:36:12 +02:00

fix small bug in remove script

This commit is contained in:
Pierre Bourré 2019-02-03 01:04:06 +01:00
parent 078d3c18b7
commit bec4c2407b

View file

@ -29,16 +29,6 @@ db_user=$db_name
# Remove the dedicated systemd config
ynh_remove_systemd_config
#=================================================
# REMOVE SERVICE FROM ADMIN PANEL
#=================================================
if yunohost service status | grep -q $app
then
echo "Remove $app service"
yunohost service remove $app
fi
#=================================================
# REMOVE APP MAIN DIR
#=================================================
@ -57,7 +47,7 @@ ynh_remove_nginx_config
# Delete Log
#=================================================
ynh_secure_remove "/var/log/$app/"
ynh_secure_remove "/var/log/$app.log"
#=================================================
# REMOVE LOGROTATE CONFIGURATION