CC-2277:Rename airtime-pypo to airtime-playout

This commit is contained in:
james 2011-05-30 15:46:13 -04:00
parent f7d37adfc6
commit 0492ba79c7
5 changed files with 11 additions and 8 deletions

View File

@ -11,4 +11,7 @@ require_once __DIR__.'/../../../airtime_mvc/application/configs/conf.php';
require_once(dirname(__FILE__).'/../../include/AirtimeInstall.php');
require_once(dirname(__FILE__).'/../../include/AirtimeIni.php');
unlink('/usr/bin/airtime-pypo-start');
unlink('/usr/bin/airtime-pypo-stop');
AirtimeInstall::CreateZendPhpLogFile();

View File

@ -137,10 +137,10 @@ try:
os.system("chown -R pypo:pypo "+config["cache_base_dir"])
print "Creating symbolic links"
os.system("rm -f /usr/bin/airtime-pypo-start")
os.system("ln -s "+config["bin_dir"]+"/bin/airtime-pypo-start /usr/bin/")
os.system("rm -f /usr/bin/airtime-pypo-stop")
os.system("ln -s "+config["bin_dir"]+"/bin/airtime-pypo-stop /usr/bin/")
os.system("rm -f /usr/bin/airtime-playout-start")
os.system("ln -s "+config["bin_dir"]+"/bin/airtime-playout-start /usr/bin/")
os.system("rm -f /usr/bin/airtime-playout-stop")
os.system("ln -s "+config["bin_dir"]+"/bin/airtime-playout-stop /usr/bin/")
print "Installing pypo daemon"
create_path("/etc/service/pypo")
@ -160,7 +160,7 @@ try:
print "Waiting for processes to start..."
time.sleep(5)
os.system("python /usr/bin/airtime-pypo-start")
os.system("python /usr/bin/airtime-playout-start")
time.sleep(2)
found = True

View File

@ -37,14 +37,14 @@ try:
print 'Error loading config file: ', e
sys.exit()
os.system("python /usr/bin/airtime-pypo-stop")
os.system("python /usr/bin/airtime-playout-stop")
print "Removing cache directories"
remove_path(config["cache_base_dir"])
print "Removing symlinks"
os.system("rm -f /usr/bin/airtime-pypo-start")
os.system("rm -f /usr/bin/airtime-pypo-stop")
os.system("rm -f /usr/bin/airtime-playout-start")
os.system("rm -f /usr/bin/airtime-playout-stop")
print "Removing pypo files"
remove_path(config["bin_dir"])