Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Supervise ethminer daemon and restart process or machine when appropriate

Project description

Supervise ethminer daemon and restart process or machine when appropriate.

This assumes ethminer was set up using ansible-ethminer, where systemd manages the ethminer.service process. This is required, since this is based on parsing logs from sytemd.

Features

  • Restart process when process gets stuck
  • Restart machine when graphics driver fails (WIP, currently I restart nightly)

Usage

Install ethminer supervisor with:

pip install ethminer-supervisor

Then hook up either supervisor or systemd

CLI

The command line interface may be used to run manually:

ethminer_supervisor

You can restart the service if only old times were found by passing –restart:

ethminer_supervisor --restart

–delta (default 180) can be used to override the default ‘old’ time in seconds before action is taken to recover the service:

ethminer_supervisor --restart --delta 60

License

See LICENSE file for further licensing information

Project details


Release history Release notifications

This version
History Node

1.1.0

History Node

1.0.6

History Node

1.0.5

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
ethminer_supervisor-1.1.0-py2.py3-none-any.whl (6.7 kB) Copy SHA256 hash SHA256 Wheel 2.7 Jan 13, 2018
ethminer_supervisor-1.1.0.tar.gz (4.5 kB) Copy SHA256 hash SHA256 Source None Jan 13, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page