From a317bc75d70c394d964c50b626b65a9547ee9b91 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 12 Jun 2021 11:20:12 +0200 Subject: [PATCH] Make sure logs directory is created and chown'ed --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 167bd40..c041e3d 100755 --- a/scripts/install +++ b/scripts/install @@ -106,7 +106,8 @@ ynh_script_progression --message="Configuring Radarr..." --weight=2 api_key=$(ynh_string_random --length=32) ynh_app_setting_set --app=$app --key=api_key --value=$api_key -mkdir -p "$final_path" +# Create $final_path and its logs subdirectory +mkdir -p "$final_path/logs" chmod 750 "$final_path" ynh_add_config --template="../conf/config.xml" --destination="$final_path/config.xml"