cc-2055: switch to init.d
-updated log file locations in airtime-check-system
This commit is contained in:
parent
f6ae2aaa91
commit
23d25ef5d7
|
@ -107,7 +107,7 @@ class AirtimeCheck {
|
||||||
if (is_numeric($numSecondsRunning) && (int)$numSecondsRunning < 3) {
|
if (is_numeric($numSecondsRunning) && (int)$numSecondsRunning < 3) {
|
||||||
self::$check_system_ok = false;
|
self::$check_system_ok = false;
|
||||||
output_msg("WARNING! It looks like the playout engine is continually restarting.");
|
output_msg("WARNING! It looks like the playout engine is continually restarting.");
|
||||||
$command = "tail -10 /var/log/airtime/pypo/main/current";
|
$command = "tail -10 /var/log/airtime/pypo/pypo.log";
|
||||||
exec($command, $output, $result);
|
exec($command, $output, $result);
|
||||||
foreach ($output as $line) {
|
foreach ($output as $line) {
|
||||||
output_msg($line);
|
output_msg($line);
|
||||||
|
@ -150,7 +150,7 @@ class AirtimeCheck {
|
||||||
if (is_numeric($numSecondsRunning) && (int)$numSecondsRunning < 3) {
|
if (is_numeric($numSecondsRunning) && (int)$numSecondsRunning < 3) {
|
||||||
self::$check_system_ok = false;
|
self::$check_system_ok = false;
|
||||||
output_msg("WARNING! It looks like the playout engine is continually restarting.");
|
output_msg("WARNING! It looks like the playout engine is continually restarting.");
|
||||||
$command = "tail -10 /var/log/airtime/pypo/main/current";
|
$command = "tail -10 /var/log/airtime/pypo-liquidsoap/ls_script.log";
|
||||||
exec($command, $output, $result);
|
exec($command, $output, $result);
|
||||||
foreach ($output as $line) {
|
foreach ($output as $line) {
|
||||||
output_msg($line);
|
output_msg($line);
|
||||||
|
|
Loading…
Reference in New Issue