cc-2055: switch to init.d

-initial upgrade script
This commit is contained in:
martin 2011-06-01 15:28:24 -04:00
parent 4c9c86bf4f
commit d516b963e4
5 changed files with 42 additions and 18 deletions

View file

@ -51,7 +51,7 @@ try:
current_script_dir = get_current_script_dir()
p = Popen("/etc/init.d/airtime-media-monitor stop", shell=True)
p = Popen("/etc/init.d/airtime-media-monitor stop >/dev/null 2>&1", shell=True)
sts = os.waitpid(p.pid, 0)[1]
print "Creating log directories"
@ -82,6 +82,4 @@ try:
except Exception, e:
print "exception:" + str(e)
sys.exit(1)