Merge pull request #1144 from hairmare/chore/pythonic-analyzer

refactor(airtime_analyzer): rename to libretime-analyzer and make entrypoint pythonic
This commit is contained in:
Kyle Robbertze 2021-02-12 22:40:44 +02:00 committed by GitHub
commit 5e080ce5e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 155 additions and 170 deletions

View file

@ -113,7 +113,7 @@ function checkRMQConnection() {
* @return boolean true if airtime-analyzer is running
*/
function checkAnalyzerService() {
exec("pgrep -f airtime_analyzer", $out, $status);
exec("pgrep -f libretime-analyzer", $out, $status);
if (($out > 0) && $status == 0) {
return posix_kill(rtrim($out[0]), 0);
}