cc-2055: switch to init.d

-media monitor is now started on upgrade scripts
-make sure /var/log dirs are properly cleaned up
This commit is contained in:
martin 2011-06-08 13:28:19 -04:00
parent 50ff1984f2
commit a95d08c9be
2 changed files with 4 additions and 3 deletions

View File

@ -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;

View File

@ -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"
);