From a95d08c9be3ba235998bfdc94d3ef5c5fab103f8 Mon Sep 17 00:00:00 2001 From: martin Date: Wed, 8 Jun 2011 13:28:19 -0400 Subject: [PATCH] cc-2055: switch to init.d -media monitor is now started on upgrade scripts -make sure /var/log dirs are properly cleaned up --- install/airtime-upgrade.php | 5 +++-- install/upgrades/airtime-1.9/airtime-upgrade.php | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/install/airtime-upgrade.php b/install/airtime-upgrade.php index a568fe9c5..109a978ec 100644 --- a/install/airtime-upgrade.php +++ b/install/airtime-upgrade.php @@ -96,7 +96,8 @@ passthru("python ".__DIR__."/../python_apps/pypo/install/pypo-install.py"); echo PHP_EOL."*** Updating Recorder ***".PHP_EOL; passthru("python ".__DIR__."/../python_apps/show-recorder/install/recorder-install.py"); +echo PHP_EOL."*** Starting Media Monitor ***".PHP_EOL; +passthru("python ".__DIR__."/../python_apps/media-monitor/install/media-monitor-install.py"); + echo "******************************* Update Complete *******************************".PHP_EOL; - - diff --git a/install/upgrades/airtime-1.9/airtime-upgrade.php b/install/upgrades/airtime-1.9/airtime-upgrade.php index 049962a61..0727c9c64 100644 --- a/install/upgrades/airtime-1.9/airtime-upgrade.php +++ b/install/upgrades/airtime-1.9/airtime-upgrade.php @@ -49,7 +49,6 @@ function UninstallBinaries() exec("/usr/bin/airtime-pypo-stop"); exec("/usr/bin/airtime-show-recorder-stop"); -exec("/usr/bin/airtime-media-monitor-stop"); exec("svc -d /etc/service/pypo"); exec("svc -d /etc/service/pypo/log"); @@ -69,6 +68,7 @@ $pathnames = array("/usr/bin/airtime-pypo-start", "/etc/service/media-monitor", "/etc/service/recorder", "/var/log/airtime/pypo/main", + "/var/log/airtime/pypo-liquidsoap/main", "/var/log/airtime/show-recorder/main" );