diff --git a/scripts/restore b/scripts/restore index bc4a0ec..e968469 100755 --- a/scripts/restore +++ b/scripts/restore @@ -109,6 +109,7 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$ap #================================================= ynh_script_progression --message="Restoring the logrotate configuration..." +mkdir -p "/var/log/$app/" ynh_restore_file --origin_path="/etc/logrotate.d/$app" #=================================================