system-config/modules/elastic_recheck/files/er_safe_run.sh
Sean Dague 74c68501bc add in elastic-recheck-unclassified report
this adds the new elastic-recheck-unclassified report, which
generates an html page of all the unclassified gate failures.

it also runs this command, and the elastic-recheck-graph command
not only on cron, but also on updates to the repository. In order
to do this safely, we create a new er_safe_run.sh in /usr/local
that provides a flock front end to ensure we won't race on our
html writes.

Change-Id: I624f2629e2ac19a1394866f73f1aa9ba18e968ce
2014-01-21 18:29:30 -05:00

4 lines
64 B
Bash
Executable File

#!/bin/bash
flock /var/lib/elastic-recheck/er_safe_run.lock $@