From 9f582393e76045bb9bbdf3207537ae1db72a561a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sat, 24 Feb 2024 18:06:50 +0100 Subject: [PATCH] Missing log dir on restore --- scripts/restore | 2 ++ 1 file changed, 2 insertions(+) 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"