Metadata-Version: 2.0
Name: ethminer-supervisor
Version: 1.0.2
Summary: Supervise ethminer daemon and restart process or machine when appropriate
Home-page: https://github.com/narfman0/ethminer_supervisor
Author: Jon Robison
Author-email: narfman0@gmail.com
License: MIT license
Description-Content-Type: UNKNOWN
Keywords: ethminer_supervisor ethereum
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6

===================
ethminer-supervisor
===================


.. image:: https://img.shields.io/pypi/v/ethminer-supervisor.svg
        :target: https://pypi.python.org/pypi/ethminer-supervisor

.. image:: https://img.shields.io/travis/narfman0/ethminer-supervisor.svg
        :target: https://travis-ci.org/narfman0/ethminer-supervisor

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


