diff --git a/scripts/install b/scripts/install index 6492a1c..6c16a28 100644 --- a/scripts/install +++ b/scripts/install @@ -266,8 +266,8 @@ ynh_permission_update --permission="main" --remove="visitors" ### Then, if write authorization is needed, any access should be given only to directories ### that really need such authorization. -# Set permissions to app files chown -R $app: $final_path -chown -R root: $final_path +# Set permissions to app files chown -R root: $final_path +chown -R $app: $final_path #================================================= # SETUP LOGROTATE @@ -366,7 +366,7 @@ ynh_permission_create --permission="api" --url "/api" --allowed="visitors" --sho #================================================= # RELOAD NGINX #================================================= -ynh_script_progression --message="Reloading NGINX web server..." --time --weight=1 +ynh_script_progression --message="Reloading nginx web server..." --time --weight=1 ynh_systemd_action --service_name=nginx --action=reload