From c300ae4667f2874b00e63c34f78ec590228a2d3b Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 24 Sep 2021 15:49:47 +0200 Subject: [PATCH] Update install --- scripts/install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index ac718b2..2ff4c5c 100755 --- a/scripts/install +++ b/scripts/install @@ -77,7 +77,7 @@ ynh_setup_source --dest_dir="$final_path" --source_id="app.$architecture" chmod 750 "$final_path" chmod -R o-rwx "$final_path" -chown -R $app:www-data $final_path +chown -R $app:www-data "$final_path" chmod +x "$final_path/jackett_launcher.sh" #================================================= @@ -102,6 +102,8 @@ ynh_add_systemd_config ynh_script_progression --message="Configuring Jackett..." --weight=2 ynh_add_config --template="../conf/ServerConfig.json" --destination="$final_path/.config/Jackett/ServerConfig.json" +chmod 600 "$final_path/.config/Jackett/ServerConfig.json" +chown -R $app:$app "$final_path/.config/Jackett/ServerConfig.json" #================================================= # GENERIC FINALIZATION