Browse Source

[Update] 修改jms stop

pull/3344/head
ibuler 5 years ago
parent
commit
e093475351
  1. 3
      jms

3
jms

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

Loading…
Cancel
Save