Commit 7e10cad3 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 a039c8cf
Pipeline #30275 passed with stage
in 0 seconds