1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ztncui_ynh.git synced 2024-09-03 18:06:05 +02:00

Recreate log directory during restore

This commit is contained in:
tituspijean 2021-10-06 23:36:43 +02:00
parent 7a05e06319
commit 409432f5fb
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -108,6 +108,7 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$ap
#=================================================
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
mkdir -p "/var/log/$app"
#=================================================
# GENERIC FINALIZATION