Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
MineForeman.com
on 14/07/2013, 23:47:14 UTC
Perfect. I submitted a pull request for some simple code that adds a restart and quit button to the bottom of the status page. https://github.com/MineForeman/MinePeonWebUI/pull/10
I wasn't sure if you had UI layout preferences. If you want these somewhere else, or want to group some differently, feel free.

Cool, I will have a look at it later.  Two problems with it though, Restart is not 100% reliable (its more like 99.999% reliable, but that means 1 time out of 1,000 cgminer goes off to la la land).  Quit however seems 100% reliable, but the supervisory process will detect a dead miner and restart it anyway! Tongue

However, we can use the quit button as a restart button.  To make a quit button is something else altogether, it requires access to systemd and the httpd process does not have that (I have no idea what scenario people are thinking of that they will actually need to stop the miner though).

As to where to put the buttons, I am not sure.  I am against adding buttons for the sake of having them, especially when they serve no practical purpose whatsoever, it just starts to look messy.  I do plan to add a submenu under settings for 'Advanced Settings' where all the fiddly settings go like API port and subnet and such, perhaps we can put them there.

Neil