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

Create user before giving user permission to final_path(install)

This commit is contained in:
anmol26s 2020-04-26 04:24:52 +05:30
parent 97d869bff4
commit 9a7407db61

View file

@ -95,7 +95,13 @@ else
cp -a ../sources/root_access_disabled/. $final_path
fi
#=================================================
# CREATE DEDICATED USER
#=================================================
ynh_script_progression --message="Configuring system user..." --time --weight=1
# Create a system user
ynh_system_user_create --username=$app
# Set permissions to app files
@ -114,13 +120,6 @@ ynh_script_progression --message="Configuring nginx web server..." --time --weig
# Create a dedicated nginx config
ynh_add_nginx_config
#=================================================
# CREATE DEDICATED USER
#=================================================
ynh_script_progression --message="Configuring system user..." --time --weight=1
# Create a system user
ynh_system_user_create --username=$app
#=================================================
# PHP-FPM CONFIGURATION