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:
parent
22ef3c53bc
commit
efe4da862e
2 changed files with 2 additions and 1 deletions
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue