Files
openproject/bin/check-worker-readiness
2024-03-21 11:31:17 +01:00

10 lines
166 B
Bash
Executable File

#!/bin/bash
if ps aux | grep 'good_job start' | grep -v grep; then
echo "background worker running"
exit 0
fi
echo "background worker not running"
exit 1
fi