[Update] 修改jms stop

pull/3344/head
ibuler 2019-10-14 11:37:13 +08:00
parent 7e7583e4fc
commit e093475351
1 changed files with 1 additions and 2 deletions

3
jms
View File

@ -445,8 +445,7 @@ def stop_service(srv, sig=15):
def stop_daemon_service():
pid = get_pid('jms')
logging.info("Daemon pid is: {}".format(pid))
if pid:
if pid and check_pid(pid):
os.kill(pid, 15)