Clean up shutdown logic and logging

Add RPC "stop" command, and document it.

Fixes the 2nd part of #100
This commit is contained in:
Neil Booth
2017-01-13 19:55:16 +09:00
parent d533b00eed
commit 655c875c03
2 changed files with 17 additions and 4 deletions
+3 -2
View File
@@ -234,8 +234,9 @@ Terminating ElectrumX
=====================
The preferred way to terminate the server process is to send it the
INT or TERM signals. For a daemontools supervised process this is best
done by bringing it down like so::
**stop** RPC command, or alternatively on Unix the INT or TERM
signals. For a daemontools supervised process this can be done by
bringing it down like so::
svc -d ~/service/electrumx