From dbd07e4d654f6ad38baded9a455bf02b0280760c Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Holcroft Date: Wed, 28 Aug 2019 08:30:14 +0200 Subject: [PATCH] create log folder at restoration --- scripts/restore | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/restore b/scripts/restore index 895e5ba..2fa8132 100755 --- a/scripts/restore +++ b/scripts/restore @@ -128,6 +128,7 @@ ynh_restore_file "/usr/bin/hub" #================================================= ynh_restore_file --origin_path="/etc/logrotate.d/$app" +mkdir -p "/var/log/$app" #================================================= # GENERIC FINALIZATION