From 4725618aec75da9dacf40d06e7ae9d1ef2049c79 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 11 Apr 2021 09:32:08 +0200 Subject: [PATCH] Fix --- scripts/install | 3 ++- scripts/upgrade | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index f7b1b4b..71bd5a3 100644 --- a/scripts/install +++ b/scripts/install @@ -166,7 +166,6 @@ ynh_script_progression --message="Securing files and directories..." --weight=1 # Set permissions to app files chown -R $app: $final_path -chmod -R 755 $final_path/bin chmod 600 $final_path/config/config.yml #================================================= @@ -184,6 +183,8 @@ ynh_script_progression --message="Starting a systemd service..." --weight=2 # Start a systemd service ynh_systemd_action --service_name=$app --action=start --log_path=systemd +chmod -R 755 $final_path/bin + #================================================= # SETUP SSOWAT #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 37ec2c4..da91aed 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -149,7 +149,6 @@ ynh_script_progression --message="Securing files and directories..." --weight=1 # Set permissions on app files chown -R $app: $final_path -chmod -R 755 $final_path/bin chmod 600 $final_path/config/config.yml #================================================= @@ -166,6 +165,8 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1 ynh_systemd_action --service_name=$app --action=restart --log_path=systemd +chmod -R 755 $final_path/bin + #================================================= # RELOAD NGINX #=================================================