From b80991242e020b8e27a5a7ec5a3c34aa3e1e3044 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Thu, 18 Feb 2021 19:07:39 +0100 Subject: [PATCH] Fix install/restore after remove --- scripts/install | 2 ++ scripts/restore | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/install b/scripts/install index 8f3e82e..a5ed917 100755 --- a/scripts/install +++ b/scripts/install @@ -40,6 +40,8 @@ ynh_app_setting_set --app $app --key nginx_status_port --value $nginx_status_por # Creating the folder mkdir -p /var/lib/monitorix/www/imgs +mkdir -p /etc/monitorix/conf.d/ +touch /etc/monitorix/conf.d/00-debian.conf # Install package ynh_script_progression --message="Installing dependencies..." --weight=7 diff --git a/scripts/restore b/scripts/restore index 913b4f7..f679785 100755 --- a/scripts/restore +++ b/scripts/restore @@ -29,6 +29,8 @@ ynh_webpath_available --domain $domain --path_url $path_url || ynh_die --message # Creating the folder mkdir -p /var/lib/monitorix/www/imgs +mkdir -p /etc/monitorix/conf.d/ +touch /etc/monitorix/conf.d/00-debian.conf # Install package ynh_script_progression --message="Reinstalling dependencies..." --weight=5