From d54f3cec73507a338cf034534e45517897303bd8 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 13 May 2021 20:31:38 +0200 Subject: [PATCH] Fix restore on a fresh YunoHost --- scripts/restore | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/restore b/scripts/restore index bc4a0ec..e968469 100755 --- a/scripts/restore +++ b/scripts/restore @@ -109,6 +109,7 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$ap #================================================= ynh_script_progression --message="Restoring the logrotate configuration..." +mkdir -p "/var/log/$app/" ynh_restore_file --origin_path="/etc/logrotate.d/$app" #=================================================