1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpsysinfo_ynh.git synced 2024-09-03 19:56:43 +02:00
This commit is contained in:
inrepublica 2016-05-28 15:42:12 +02:00
parent e5a34ae0b7
commit 2edbfa5911
2 changed files with 4 additions and 2 deletions

View file

@ -9,9 +9,11 @@ app=phpsysinfo
# Source YunoHost helpers
. /usr/share/yunohost/helpers
# Retrieve app settings
domain=$(ynh_app_setting_get "$app" domain)
# Backup sources & data
ynh_backup "/var/www/${app}" "sources"
# Copy NGINX configuration
domain=$(ynh_app_setting_get "$app" domain)
ynh_backup "/etc/nginx/conf.d/${domain}.d/${app}.conf" "nginx.conf"

View file

@ -40,7 +40,7 @@ then
# See install script
ynh_app_setting_set "$app" unprotected_uris "/"
# Remove old settings
ynh_app_setting_delete "$app" skipped_uris
# ynh_app_setting_delete "$app" skipped_uris
fi
# Restart services