cc-2055: switch to init.d
-initial upgrade script
This commit is contained in:
parent
4c9c86bf4f
commit
d516b963e4
5 changed files with 42 additions and 18 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue