1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/sonarr_ynh.git synced 2024-09-03 20:26:19 +02:00

Make sure logs directory is created and chown'ed

This commit is contained in:
tituspijean 2021-06-12 11:20:12 +02:00
parent 15c8e54af2
commit a317bc75d7

View file

@ -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"