Skip to main content
https://img.shields.io/pypi/v/ethminer-supervisor.svg https://img.shields.io/travis/narfman0/ethminer-supervisor.svg

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

Release files for ethminer_supervisor 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ethminer_supervisor 1.1.0
File Size Uploaded
ethminer_supervisor-1.1.0.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ethminer_supervisor 1.1.0
File Interpreter ABI Platform
ethminer_supervisor-1.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 11.2 kB

Release files / ethminer_supervisor-1.1.0.tar.gz

Download URL ethminer_supervisor-1.1.0.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
468be5b845122ce90c5b5540eedeb9d261d0a329c97b51cacbbf965a426ad631
BLAKE2b-256 checksum
How to use checksums
b5e2cdb6f92d4c631311853b303cb969a7bbf0b6814c8d4d47e2e748193f9b35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ethminer_supervisor-1.1.0-py2.py3-none-any.whl

Download URL ethminer_supervisor-1.1.0-py2.py3-none-any.whl
Size 6.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
4343e3af804429ee09b1513aa6248280ca661c4a447c972c0efc687d068282ed
BLAKE2b-256 checksum
How to use checksums
1fd9798a401b7ef93f91f39f8cc37b0b1452b41dc892fc1fd81da189d518bae5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page