From f2c9e16e9a7559e1b23124c4ad35490278659ff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rard=20Collin?= Date: Mon, 2 Jan 2023 16:56:24 +0100 Subject: [PATCH] Create application log directory in restore --- scripts/restore | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/restore b/scripts/restore index 1be949b..8171eb7 100755 --- a/scripts/restore +++ b/scripts/restore @@ -155,6 +155,7 @@ systemctl enable $app.service --quiet ynh_script_progression --message="Restoring the logrotate configuration..." --weight=1 ynh_restore_file --origin_path="/etc/logrotate.d/$app" +mkdir --parents /var/log/$app #================================================= # INTEGRATE SERVICE IN YUNOHOST