ethminer-supervisor
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
Metadata
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)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ethminer_supervisor-1.1.0.tar.gz | 4.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ethminer_supervisor-1.1.0-py2.py3-none-any.whl | Python 2, Python 3 | 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 |
Security for ethminer_supervisor 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.