Supervise ethminer daemon and restart process or machine when appropriate
Project description
WIP 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
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
License
See LICENSE file for further licensing information
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ethminer_supervisor-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26d50ee00e6ad5eaec2d8a4787cde000fbb5f3ab1ba1b4e2dd64b8a12192aefb |
|
MD5 | dfea2747c3ecc5415c26ae0d863827a7 |
|
BLAKE2b-256 | f88ca4b3329760c46369315a06e63eeb86a7fc5d132fe8ef5259662634dac8d2 |
Hashes for ethminer_supervisor-1.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3176a3cb37f14964402a093f34bd4019919364ccdab672b4b85aa852b1970074 |
|
MD5 | cd6230a8d77f9c4e356824b55db5d1d7 |
|
BLAKE2b-256 | 05e135de4c995cd3564ac4a28a57f2e21076d1808a0f0b4c8538b4e2bbe49e62 |