Create application log directory in restore

This commit is contained in:
Gérard Collin 2023-01-02 16:56:24 +01:00
parent 7a077746cf
commit f2c9e16e9a

View file

@ -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