1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mongo-express_ynh.git synced 2024-09-03 19:46:04 +02:00

restore recreate log dir

This commit is contained in:
Gérard Collin 2024-07-21 10:55:37 +02:00
parent 22ef3c53bc
commit efe4da862e
2 changed files with 2 additions and 1 deletions

View file

@ -7,7 +7,7 @@ name = "Mongo Express"
description.en = "Admin server for Mongo and optionally Mongo database" description.en = "Admin server for Mongo and optionally Mongo database"
description.fr = "Serveur d'administration pour Mongo ainsi qu'optionnellement une base Mongo" 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"] maintainers = ["Gerard Collin"]

View file

@ -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" 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" ynh_restore_file --origin_path="/etc/logrotate.d/$app"
mkdir --parents /var/log/$app
#================================================= #=================================================
# DONT RESTORE THE MONGO DATABASE # DONT RESTORE THE MONGO DATABASE