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

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