Updated configuration checklist
This commit is contained in:
parent
32f40f3dc8
commit
9c324c1b6f
2 changed files with 20 additions and 2 deletions
|
@ -209,9 +209,10 @@ $result = $r1 && $r2;
|
||||||
if (!$result) {
|
if (!$result) {
|
||||||
?>
|
?>
|
||||||
<br/>
|
<br/>
|
||||||
|
<strong>Looks like something went wrong!</strong>
|
||||||
<p>
|
<p>
|
||||||
Looks like something went wrong! If you've tried everything we've recommended in the table above and are
|
If you've tried everything we've recommended above and are still experiencing issues, come
|
||||||
still experiencing issues, come <a href="https://forum.sourcefabric.org/">visit our forums</a>
|
<a href="https://forum.sourcefabric.org/">visit our forums</a>
|
||||||
or <a href="http://www.sourcefabric.org/en/airtime/manuals/">check out the manual</a>.
|
or <a href="http://www.sourcefabric.org/en/airtime/manuals/">check out the manual</a>.
|
||||||
</p>
|
</p>
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -99,6 +99,8 @@ function configureDatabase() {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check that we can connect to RabbitMQ
|
* Check that we can connect to RabbitMQ
|
||||||
|
*
|
||||||
|
* @return true if the RabbitMQ connection can be established
|
||||||
*/
|
*/
|
||||||
function checkRMQConnection() {
|
function checkRMQConnection() {
|
||||||
// Check for airtime.conf in /etc/airtime/ first, then check in the build directory,
|
// Check for airtime.conf in /etc/airtime/ first, then check in the build directory,
|
||||||
|
@ -116,16 +118,31 @@ function checkRMQConnection() {
|
||||||
return isset($conn);
|
return isset($conn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if airtime-media-monitor is currently running
|
||||||
|
*
|
||||||
|
* @return boolean true if airtime-media-monitor is running
|
||||||
|
*/
|
||||||
function checkMediaMonitorService() {
|
function checkMediaMonitorService() {
|
||||||
exec("initctl list | grep airtime-media-monitor", $out, $status);
|
exec("initctl list | grep airtime-media-monitor", $out, $status);
|
||||||
return $status == 0;
|
return $status == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if airtime-playout is currently running
|
||||||
|
*
|
||||||
|
* @return boolean true if airtime-playout is running
|
||||||
|
*/
|
||||||
function checkPlayoutService() {
|
function checkPlayoutService() {
|
||||||
exec("initctl list | grep airtime-playout", $out, $status);
|
exec("initctl list | grep airtime-playout", $out, $status);
|
||||||
return $status == 0;
|
return $status == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if airtime-liquidsoap is currently running
|
||||||
|
*
|
||||||
|
* @return boolean true if airtime-liquidsoap is running
|
||||||
|
*/
|
||||||
function checkLiquidsoapService() {
|
function checkLiquidsoapService() {
|
||||||
exec("initctl list | grep airtime-liquidsoap", $out, $status);
|
exec("initctl list | grep airtime-liquidsoap", $out, $status);
|
||||||
return $status == 0;
|
return $status == 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue