Update install

This commit is contained in:
ericgaspar 2021-06-27 18:08:52 +02:00
parent 69d7740974
commit 6a5a4488b5
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -54,10 +54,10 @@ ynh_app_setting_set --app=$app --key=path --value=$path_url
#=================================================
# CREATE DEDICATED USER
#=================================================
ynh_script_progression --message="Configuring system user..." --weight=1
# ynh_script_progression --message="Configuring system user..." --weight=1
# Create a system user
ynh_system_user_create --username=$app --home_dir="$final_path"
# # Create a system user
# ynh_system_user_create --username=$app --home_dir="$final_path"
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
@ -69,8 +69,8 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
ynh_setup_source --dest_dir="$final_path"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
#chmod -R o-rwx "$final_path"
chown -R www-data:www-data "$final_path"
#=================================================
# NGINX CONFIGURATION