From a3fd7478d622a9ced9e78bcfe578d606fe9807f1 Mon Sep 17 00:00:00 2001 From: Robbt Date: Mon, 3 Sep 2018 19:00:13 -0400 Subject: [PATCH] decided to simply return true if it finds a celery pid running --- airtime_mvc/build/airtime-setup/load.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/build/airtime-setup/load.php b/airtime_mvc/build/airtime-setup/load.php index eaf3eab9e..d926cbb25 100644 --- a/airtime_mvc/build/airtime-setup/load.php +++ b/airtime_mvc/build/airtime-setup/load.php @@ -154,7 +154,7 @@ function checkLiquidsoapService() { function checkCeleryService() { exec("pgrep -f -u celery airtime-celery", $out, $status); if (array_key_exists(0, $out) && $status == 0) { - return posix_kill(rtrim($out[0]), 0); + return 1; } return $status == 0; }