TarsCloud / Tars

Tars is a high-performance RPC framework based on name service and Tars protocol, also integrated administration platform, and implemented hosting-service via flexible schedule.
BSD 3-Clause "New" or "Revised" License
9.79k stars 2.08k forks source link

Tars cpp2. X is on the node side. The script command to manually stop the service is? #788

Closed TARS-Question closed 4 years ago

TARS-Question commented 4 years ago

Remote login, not convenient to stop with the web.

TARS-Answer commented 4 years ago

There is no way to manually kill it as long as the tarsnode node is still there and the node service status is active, the service will continue to be pulled. In the source code implementation, only the stopServer that calls the node node will set the service status to inactive.

TARS-Answer commented 4 years ago

没有办法,手动kill掉只要tarsnode节点还在,并且节点服务状态为active,就会一直拉起服务。源码实现中,只有调用node节点的stopServer才会将服务状态设置为inactive。