start xmrig on boot

Trickster

n00b
Joined
Feb 17, 2018
Messages
2
YES I know this is a NOOB question.
I want to start xmrig on boot
the path is cd xmrig/build
I have to type ./xmrig to run it in terminal.
how can I make this run when the pc boots?
I have been working on it and cant seem to fins the right/best way to do it.
I had tried to do it in .bashrc witch did work but every time I opened a terminal it would start a new instance of xmrig.
sorry for the noob question
please help
 
Back
Top