Skip to content
This repository has been archived by the owner on Jul 12, 2021. It is now read-only.

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

Open
gits7r opened this issue Oct 15, 2016 · 0 comments

Comments

@gits7r
Copy link
Contributor

gits7r commented Oct 15, 2016

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant