MineForeman/minepeon-base — pull request #1 by hwilliams-directnic (2013-09-15 17:31:41+00:00)
Title: MobileMinerApp integration

Includes the files needed for MobleMinerApp integration (mobileminerapp.com).

Settings will need to be added to the minepeon.conf file; ```sudo nano /opt/minepeon/etc/minepeon.conf```
```
"mma_machineName": "MinePeon" # can be user defined, if running multiple MinePeons, suggest changing this for each MinePeon, may just grabd the host name later on.
"mma_userEmail": "USER_EMAIL" # user defined, email used to receive appKey on MobileMinerApp.com.
"mma_appKey": "USER_APPKEY" # user defined, app key from MobileMinerApp.com.
"mma_checkInterval": 20, # default is 20, this is the interval delay in seconds as to how often MinePeon updates and checks for commands.
"mma_coinName": "Bitcoin" # default Bitcoin.
"mma_coinSymbol": "BTC" # default BTC.
"mma_alogorithm": "SHA-256" # default SHA-256.
"mma_cronLog": false # Set this to true if you want the cron to output success messages to the log file.
```

Need to add a few lines to the crontab (do not use sudo when doing this); ```EDITOR=nano crontab -e```
```
*/1 * * * * /usr/bin/php /opt/minepeon/etc/cron.d/webcron/mobileminerapp.cron.php update >> /opt/minepeon/log/mma_update.log
*/2 * * * * /usr/bin/php /opt/minepeon/etc/cron.d/webcron/mobileminerapp.cron.php check >> /opt/minepeon/log/mma_check.log
```