diff --git a/scripts/restore b/scripts/restore index b7b6652..00b6157 100644 --- a/scripts/restore +++ b/scripts/restore @@ -25,6 +25,8 @@ ynh_script_progression --message="Restoring the app main directory..." ynh_restore_file --origin_path="$install_dir" +mkdir -p "$install_dir/log" "$install_dir/tmp/pids" "$install_dir/tmp/sockets" + chmod -R o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir"