electrum-server icon indicating copy to clipboard operation
electrum-server copied to clipboard

add arguments to electrum-server script to restart/start/stop threads separately

Open gits7r opened this issue 9 years ago • 0 comments

Currently electrum-server scripts supports very few arguments. I think it would be useful to add the following:

  • electrum-server thread-blockchainprocessor [status|start|stop|restart] -- this will state if electrum-server is catching up with bitcoind or if the blockchainprocessor thread died.
  • electrum-server thread-irc [status|start|stop|restart] -- this will state if electrum-server is connected to IRC and if not, reconnect without restarting the server entirely. This is what currently happened to my server, it is running good but not connected to IRC and I have no option but to entirely restart the server.
  • electrum-server thread-tcp [status|start|stop|restart] -- this will state info about the TCP thread, if it's running and how many TCP clients we are handling.
  • electrum-server thread-ssl [status|start|stop|restart] -- same as TCP thread.

Are there any other parts of the server which might be interested to be reachable from the electrum-server script that I didn't list above? These should be the most used ones.

gits7r avatar Oct 15 '16 14:10 gits7r