Skip to content
This repository was archived by the owner on Jul 12, 2021. It is now read-only.
This repository was 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

@gits7r

Description

@gits7r

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions