CC-2758: Make airtime-install script Debian/Ubuntu compatible

-install complete
This commit is contained in:
Martin Konecny 2011-10-27 15:53:54 -04:00
parent cd0ff848fc
commit 87970740a0
6 changed files with 69 additions and 58 deletions

View file

@ -101,8 +101,9 @@ try:
print "Unable to connect to the Airtime server."
#restart airtime-playout
print "Waiting for processes to start..."
print "Waiting for pypo processes to start..."
p = Popen("/etc/init.d/airtime-playout stop", shell=True)
sts = os.waitpid(p.pid, 0)[1]
p = Popen("/etc/init.d/airtime-playout start-no-monit", shell=True)
sts = os.waitpid(p.pid, 0)[1]