From a6408772e605bd30a9b848355688c9920e123fc1 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 24 Jun 2021 19:33:49 +0200 Subject: [PATCH] Update install --- scripts/install | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index 587c10e..9a9a2e9 100755 --- a/scripts/install +++ b/scripts/install @@ -87,10 +87,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 -chmod 750 "$final_path" -chmod -R o-rwx "$final_path" -chown -R $app:www-data "$final_path" - #================================================= # NGINX CONFIGURATION #================================================= @@ -104,7 +100,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Configuring TiddlyWiki..." --weight=2 -#chown -R $app $final_path +chown -R $app: $final_path pushd $final_path ynh_use_nodejs @@ -112,6 +108,10 @@ pushd $final_path ynh_exec_as $app env $ynh_node_load_PATH $final_path mynewwiki --init server popd +chmod 750 "$final_path" +chmod -R o-rwx "$final_path" +chown -R $app:www-data "$final_path" + #================================================= # SETUP SYSTEMD #=================================================