Commit bd3eaba1 authored by Łukasz Nowak's avatar Łukasz Nowak

rapid-cdn: Fix logrotate-setup-validate race-condition

Call to logrotate-setup-validate can take a lot of time and fill the state
file with some message from logrotate and in the same time the promise can
kick in resulting with false-positive alarm.

By using the temporary file such race condition is avoided. Promise running
periodically will detect problem with logrotate setup.
parent cfd38dbe
Pipeline #30254 passed with stage
in 0 seconds