Post
Topic
Board Mining (Altcoins)
Re: Official FutureBit Moonlander 2 Driver and Support Thread
by
TimBuck2
on 26/01/2018, 17:08:26 UTC


do you know if its possible to do it without having to reboot the PI, i see in this guys thread that it will execute the script while the PI is booting, i would like the script to boot within the Pi desktop not before as i would like the command window to be displayed?

regards

Paul

Probably. But regardless, once the 'screen' session is stopped and restarted in linux, you will still have to reattach the screen but either way you can try this:

Follow those tips in the other thread I created and pay attention to what you name the process. i.e.; 'moonlander', 'miner', etc... whatever you choose.

Then in CRON create one for this.

sudo systemctl restart moonlander of course 'moonlander' would be replaced with whatever you call the service when it is booted initially.

That way if the power goes down and then comes back up and your not around, the ML2 will still restart on reboot which will ensure it stays running and will restart the service (process) and you can just sudo screen -r to bring the interface back up when you want to view it.