-show which process id is being shutdown when calling airtime-xxx-stop

This commit is contained in:
martin 2011-05-17 11:55:16 -04:00
parent 91caaf2c0f
commit 35e617911b
3 changed files with 7 additions and 3 deletions

View file

@ -19,6 +19,7 @@ try:
os.system("svc -d /etc/service/recorder 1>/dev/null 2>&1")
os.system("svc -d /etc/service/recorder/log 1>/dev/null 2>&1")
os.system("kill -2 %s" % recorder_pid)
print "Shutting down process id %s" % recorder_pid
print "Success."
else:
print "Not Running."