Update installer to work with saas branch
This commit is contained in:
parent
d48e594dcd
commit
4c797cf100
13 changed files with 168 additions and 144 deletions
|
@ -9,7 +9,8 @@
|
|||
</p>
|
||||
<pre style="text-align: left">sudo service airtime-playout start
|
||||
sudo service airtime-liquidsoap start
|
||||
sudo service airtime-media-monitor start</pre>
|
||||
sudo service airtime_analyzer start
|
||||
sudo service airtime-celery start</pre>
|
||||
<p>
|
||||
Click "Done!" to bring up the Airtime configuration checklist; if your configuration is all green,
|
||||
you're ready to get started with your personal Airtime station!
|
||||
|
|
|
@ -63,7 +63,7 @@ function checkDatabaseDependencies() {
|
|||
function checkExternalServices() {
|
||||
return array(
|
||||
"database" => checkDatabaseConfiguration(),
|
||||
"media-monitor" => checkMediaMonitorService(),
|
||||
"analyzer" => checkAnalyzerService(),
|
||||
"pypo" => checkPlayoutService(),
|
||||
"liquidsoap" => checkLiquidsoapService(),
|
||||
"rabbitmq" => checkRMQConnection()
|
||||
|
@ -123,8 +123,8 @@ function checkRMQConnection() {
|
|||
*
|
||||
* @return boolean true if airtime-media-monitor is running
|
||||
*/
|
||||
function checkMediaMonitorService() {
|
||||
exec("pgrep -f -u www-data airtime-media-monitor", $out, $status);
|
||||
function checkAnalyzerService() {
|
||||
exec("pgrep -f -u www-data airtime_analyzer", $out, $status);
|
||||
if (array_key_exists(0, $out) && $status == 0) {
|
||||
return posix_kill(rtrim($out[0]), 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue