From 1c8030ca029ee01da1afadd49512ee6f92a15df4 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 28 Jan 2022 12:48:11 +0100 Subject: [PATCH] Update install --- scripts/install | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index 558dc90..a389e77 100644 --- a/scripts/install +++ b/scripts/install @@ -86,11 +86,6 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" -# Set permissions to app files -chmod 755 $final_path -chmod -R o-rwx $final_path -chown -R $app:www-data $final_path - #================================================= # NGINX CONFIGURATION #================================================= @@ -138,6 +133,11 @@ pushd $final_path php$phpversion artisan bookstack:create-admin --email="$email" --name="$admin" --password="$password" popd +# Set permissions to app files +chmod 755 $final_path +chmod -R o-rwx $final_path +chown -R $app:www-data $final_path + #================================================= # SETUP SSOWAT #=================================================