-removed errors and warning from displaying in the console during pypo install/uninstall

This commit is contained in:
mkonecny 2010-12-17 15:39:36 -05:00
parent 1c16f6f9e7
commit afd9f80f59
2 changed files with 5 additions and 5 deletions

View file

@ -101,7 +101,7 @@ try:
os.system("chown -R pypo:pypo /etc/service/pypo-push")
print "Installing daemontool script pypo-liquidsoap"
os.system("svc -dk /etc/service/pypo-liquidsoap")
os.system("svc -dk /etc/service/pypo-liquidsoap > /dev/null 2>&1")
os.system("killall liquidsoap")
create_path("/etc/service/pypo-liquidsoap")
create_path("/etc/service/pypo-liquidsoap/log")
@ -132,7 +132,7 @@ try:
#os.symlink(BASE_PATH+"bin/pypo-log.sh", "/usr/local/bin/")
print "Install complete."
except Exception, e:
print "exception:" + str(e)