Executing a crypto currency miner at boot


Recommended Posts

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!

Link to comment

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

Link to comment
  • 2 weeks later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.