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:
commit
5e080ce5e5
15 changed files with 155 additions and 170 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue