Coder Social home page Coder Social logo

sbarcatt / ethos-auto-load Goto Github PK

View Code? Open in Web Editor NEW
13.0 6.0 3.0 25 KB

Update your remote configuration in ethos when a change is made

License: Apache License 2.0

Shell 47.77% PHP 52.23%
ethos mining mining-pool configmaker ethosdistro remote-control

ethos-auto-load's Introduction

Ethos automatic conf update (On Change)

These files allow you to update your configuration and reset your miners when you change the configuration.

  • Update your configuration in minutes.
  • No need to use Teamviewer or SSH.
  • It works with https://configmaker.com or server with text.

Installation

  • Go to your RIG and copy autoupdate.sh and daemon_remote_conf.php in /home/ethos
  • Add this line /home/ethos/autoupdate.sh in your custom.sh (Check in example folder).
  • Modify the following lines with your remote file:
//YOUR REMOTE CONF URL - Use http not https
$your_config_url="http://configmaker.com/my/VirtualEarnestWhiteHagfish.txt";

//TIME TO CHECK - IN SECONDS
$time_check=360;
  • Restart your ethOS RIG (with the command r).
  • Enjoy ๐Ÿ˜€

daemon Usage

  • You can manage the daemon with command autoupdate.sh [start*|stop|restart] *=default

License

Apache 2.0 No comercial use

Please consider a donation for more projects like this

BTC: 1EEvGGLibsgdHUk2dbgMmHFPXvXrUyMQFc
ETH: 0x957c8288e744efb225e87e77393f0d5b9a86df5d
TRX: 0x957c8288e744efb225e87e77393f0d5b9a86df5d
NAV: NatC1eBsrvXbUQD5R34TD2fg5J8hnFrmr5
IOTA: YBIZWEASKOZUJHXELQ9QCGDXRO9GPIHWWQZWMJHNZESKXHROCLAKVTGYPWDNHPSKRSGHSJG9HEIP9OXEDEZOYEZJZB

ethos-auto-load's People

Contributors

sbarcatt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ethos-auto-load's Issues

Use sha has instead of file size to check for changes

If i'm reading the code correctly, you are currently using the size of the file to check if it has changed.

However, some changes such as a single character will result in the file being the same size, but changed. I'd therefore suggest using sha($file) instead of size($file) to check if it's content has changed.

Also, you probably don't need to write the size/sha has to disk, just store it in a variable and of course don't reboot on the first check.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.