bluepr0 Posted May 10, 2018 Share Posted May 10, 2018 Hello guys! So I've been taking a look at some threads on how to execute an app at boot. Some of them suggested to edit the /boot/config/go and that's what I did. However it seems the miner opens and closes but I need it to keep running in the system. This is how my currently go file looks like #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp -p 80& /usr/local/sbin/xmrig -o pool.supportxmr.com:7777 -u -p blabla -k --donate-level 1& I've tried to execute the binary from the local folder but it didn't work, so I ended up copying it to /user/local/sbin... but it's also not working or at least it doesn't keep running Should I create a .sh script file and execute it from there? I'm a bit lost on how this thing will work! Thanks! Quote Link to comment
bluepr0 Posted May 10, 2018 Author Share Posted May 10, 2018 I did also had the go file configure so it was using the binary from a folder inside my array, so it looked like #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp -p 80& /mnt/user/Mining/xmrig -o pool.supportxmr.com:7777 -u -p blabla -k --donate-level 1& This also didn't seem to work Quote Link to comment
bluepr0 Posted May 20, 2018 Author Share Posted May 20, 2018 Anyone knows how to make it work? Quote Link to comment
primeval_god Posted May 20, 2018 Share Posted May 20, 2018 I would suggest running it in a docker container. Such as https://hub.docker.com/r/bitnn/alpine-xmrig/. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.