1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/noalyss_ynh.git synced 2024-09-03 19:46:20 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2022-04-14 11:19:06 +02:00
parent 3cf93fa067
commit c06a8be23b
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -115,31 +115,6 @@ ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=1
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --usage=low --footprint=low
#=================================================
# SETUP APPLICATION WITH CURL
#=================================================
# # Set the app as temporarily public for cURL call
# ynh_permission_update --permission "main" --add "visitors"
# # Reload NGINX
# ynh_systemd_action --service_name=nginx --action=reload
# ynh_script_progression --message="Finalizing installation..." --weight=10
# # Installation with cURL
# installUrl="/install.php?submit"
# ynh_local_curl $installUrl "install=2" "lang=fr_FR.utf8"
# # Remove the `install.php` directory from within the Noalyss installation path.
# # The scripts within this directory should not be accessible on a live Noalyss site
# # or on any installation that is accessible via the Internet.
# ynh_secure_remove "$final_path/html/install.php"
# # Set the user chosen at installation as administrator
# #ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" <<< "UPDATE ${db_name}_user_table SET username = '$admin' WHERE id = 1;"
#=================================================
# RELOAD NGINX
#=================================================