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:
parent
078d3c18b7
commit
bec4c2407b
1 changed files with 1 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue