start on boot

Discussion in 'Operating Systems' started by dixivolu, Nov 22, 2019.

  1. dixivolu

    dixivolu n00b

    Nov 22, 2019
    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
  2. Easius

    Easius Limp Gawd

    Jan 1, 2009
    What distro? Creating a service is probably a good way to go about it.