mirror of
https://github.com/YunoHost-Apps/noalyss_ynh.git
synced 2024-09-03 19:46:20 +02:00
Update install
This commit is contained in:
parent
b5c955aaf1
commit
3cf93fa067
1 changed files with 4 additions and 29 deletions
|
@ -107,40 +107,15 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=3
|
|||
# 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;"
|
||||
|
||||
# =================================================
|
||||
# MODIFY A CONFIG FILE
|
||||
# =================================================
|
||||
# ynh_script_progression --message="Modifying $app config file..."
|
||||
ynh_script_progression --message="Modifying $app config file..."
|
||||
|
||||
# ynh_add_config --template="../conf/noalyss.conf" --destination="$final_path/include/config.inc.php"
|
||||
ynh_add_config --template="../conf/noalyss.conf" --destination="$final_path/include/config.inc.php"
|
||||
|
||||
# chmod 400 "$final_path/include/config.inc.php"
|
||||
# chown $app:$app "$final_path/include/config.inc.php"
|
||||
chmod 650 "$final_path/include/config.inc.php"
|
||||
chown $app: "$final_path/include/config.inc.php"
|
||||
|
||||
#=================================================
|
||||
# SETUP LOGROTATE
|
||||
|
|
Loading…
Reference in a new issue