diff --git a/manifest.toml b/manifest.toml index f07dea8..de0d775 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Mongo Express" description.en = "Admin server for Mongo and optionally Mongo database" description.fr = "Serveur d'administration pour Mongo ainsi qu'optionnellement une base Mongo" -version = "1.0.2~ynh3" +version = "1.0.2~ynh4" maintainers = ["Gerard Collin"] diff --git a/scripts/restore b/scripts/restore index 449458b..8675f95 100755 --- a/scripts/restore +++ b/scripts/restore @@ -49,6 +49,7 @@ systemctl enable "$app.service" --quiet yunohost service add "$app" --description="Mongo Express to easily administer your Mongo databases" --log="/var/log/$app/$app.log" ynh_restore_file --origin_path="/etc/logrotate.d/$app" +mkdir --parents /var/log/$app #================================================= # DONT RESTORE THE MONGO DATABASE