Commit e0934753 authored by ibuler's avatar ibuler

[Update] 修改jms stop

parent 7e7583e4
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment