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

[enh] Cleaning

This commit is contained in:
Gofannon 2018-06-28 00:22:02 +02:00
parent 06c2ca7ab3
commit c9e64c9573
3 changed files with 0 additions and 12 deletions

View file

@ -36,8 +36,6 @@ domain=$(ynh_app_setting_get $app domain)
# BACKUP THE APP MAIN DIR
#=================================================
# TODO taken from old "backup" script
#ynh_backup "$final_path" "sources" 1
ynh_backup "$final_path"
#=================================================

View file

@ -47,8 +47,6 @@ ynh_remove_fpm_config
# SPECIFIC REMOVE
#=================================================
# Remove the log files
ynh_secure_remove "/var/log/$app/"
#=================================================
# GENERIC FINALIZATION

View file

@ -218,16 +218,8 @@ then
ynh_app_setting_set $app unprotected_uris "/"
fi
# TODO: Still needed ??
#if [ "$is_public" = "Yes" ];
#then
# sudo sed -i "s@#--PRIVATE--@@g" /etc/nginx/conf.d/$domain.d/$app.conf
#fi
#=================================================
# RELOAD NGINX
#=================================================
systemctl reload nginx
# TODO
#sudo yunohost app ssowatconf