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:
parent
ed197a9b0e
commit
1ec99f3866
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue