From 5fcd60415c57460529c323d3fa373be9ea33f8da Mon Sep 17 00:00:00 2001 From: Lucas Bickel Date: Fri, 7 Apr 2017 11:46:23 +0200 Subject: [PATCH] Change to check celery user instead of www-data --- 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 d255037ed..5a49630f5 100644 --- a/airtime_mvc/build/airtime-setup/load.php +++ b/airtime_mvc/build/airtime-setup/load.php @@ -152,7 +152,7 @@ function checkLiquidsoapService() { * @return boolean true if airtime-celery is running */ function checkCeleryService() { - exec("pgrep -f -u www-data airtime-celery", $out, $status); + exec("pgrep -f -u celery airtime-celery", $out, $status); if (array_key_exists(0, $out) && $status == 0) { return posix_kill(rtrim($out[0]), 0); }