-show which process id is being shutdown when calling airtime-xxx-stop
This commit is contained in:
parent
91caaf2c0f
commit
35e617911b
3 changed files with 7 additions and 3 deletions
|
@ -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."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue