ethminer_supervisor


Nameethminer_supervisor JSON
Version 1.1.0 PyPI version JSON
download
home_pagehttps://github.com/narfman0/ethminer_supervisor
SummarySupervise ethminer daemon and restart process or machine when appropriate
upload_time2018-01-13 03:32:13
maintainer
docs_urlNone
authorJon Robison
requires_python
licenseMIT license
keywords ethminer_supervisor ethereum
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ===================
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

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

            

Raw data

            {
    "maintainer": "", 
    "docs_url": null, 
    "requires_python": "", 
    "maintainer_email": "", 
    "cheesecake_code_kwalitee_id": null, 
    "keywords": "ethminer_supervisor ethereum", 
    "upload_time": "2018-01-13 03:32:13", 
    "author": "Jon Robison", 
    "home_page": "https://github.com/narfman0/ethminer_supervisor", 
    "github_user": "narfman0", 
    "download_url": "https://pypi.python.org/packages/b5/e2/cdb6f92d4c631311853b303cb969a7bbf0b6814c8d4d47e2e748193f9b35/ethminer_supervisor-1.1.0.tar.gz", 
    "platform": "", 
    "version": "1.1.0", 
    "cheesecake_documentation_id": null, 
    "description": "===================\nethminer-supervisor\n===================\n\n\n.. image:: https://img.shields.io/pypi/v/ethminer-supervisor.svg\n        :target: https://pypi.python.org/pypi/ethminer-supervisor\n\n.. image:: https://img.shields.io/travis/narfman0/ethminer-supervisor.svg\n        :target: https://travis-ci.org/narfman0/ethminer-supervisor\n\nSupervise ethminer daemon and restart process or machine when appropriate.\n\nThis assumes ethminer was set up using ansible-ethminer, where systemd manages\nthe ethminer.service process. This is required, since this is based on parsing\nlogs from sytemd.\n\nFeatures\n--------\n\n* Restart process when process gets stuck\n* Restart machine when graphics driver fails (WIP, currently I restart nightly)\n\nUsage\n-----\n\nInstall ethminer supervisor with::\n\n    pip install ethminer-supervisor\n\nThen hook up either supervisor or systemd\n\nCLI\n---\n\nThe command line interface may be used to run manually::\n\n    ethminer_supervisor\n\nYou can restart the service if only old times were found by passing\n`--restart`::\n\n    ethminer_supervisor --restart\n\n`--delta` (default 180) can be used to override the default 'old' time in\nseconds before action is taken to recover the service::\n\n    ethminer_supervisor --restart --delta 60\n\nLicense\n-------\n\nSee LICENSE file for further licensing information\n", 
    "lcname": "ethminer_supervisor", 
    "bugtrack_url": null, 
    "github": true, 
    "name": "ethminer_supervisor", 
    "license": "MIT license", 
    "github_project": "ethminer_supervisor", 
    "summary": "Supervise ethminer daemon and restart process or machine when appropriate", 
    "split_keywords": [
        "ethminer_supervisor", 
        "ethereum"
    ], 
    "author_email": "narfman0@gmail.com", 
    "urls": [
        {
            "has_sig": false, 
            "upload_time": "2018-01-13T03:32:14", 
            "comment_text": "", 
            "python_version": "2.7", 
            "url": "https://pypi.python.org/packages/1f/d9/798a401b7ef93f91f39f8cc37b0b1452b41dc892fc1fd81da189d518bae5/ethminer_supervisor-1.1.0-py2.py3-none-any.whl", 
            "md5_digest": "b8278917372c8732ab79eea0419b5a7e", 
            "downloads": 0, 
            "filename": "ethminer_supervisor-1.1.0-py2.py3-none-any.whl", 
            "packagetype": "bdist_wheel", 
            "path": "1f/d9/798a401b7ef93f91f39f8cc37b0b1452b41dc892fc1fd81da189d518bae5/ethminer_supervisor-1.1.0-py2.py3-none-any.whl", 
            "size": 6686
        }, 
        {
            "has_sig": false, 
            "upload_time": "2018-01-13T03:32:13", 
            "comment_text": "", 
            "python_version": "source", 
            "url": "https://pypi.python.org/packages/b5/e2/cdb6f92d4c631311853b303cb969a7bbf0b6814c8d4d47e2e748193f9b35/ethminer_supervisor-1.1.0.tar.gz", 
            "md5_digest": "b72ac0d77d752d192dbe5161bab80e6e", 
            "downloads": 0, 
            "filename": "ethminer_supervisor-1.1.0.tar.gz", 
            "packagetype": "sdist", 
            "path": "b5/e2/cdb6f92d4c631311853b303cb969a7bbf0b6814c8d4d47e2e748193f9b35/ethminer_supervisor-1.1.0.tar.gz", 
            "size": 4466
        }
    ], 
    "error": "Could not fetch GitHub repository", 
    "_id": null, 
    "cheesecake_installability_id": null
}