Title: How to autostart miner in linux? Post by: monsanto on November 11, 2016, 03:58:42 AM I'm trying to have my miner start from a script on start up on a linux 14.04 system (I haven't been using linux very long). I'm trying to use /etc/rc.local to run it, but nothing happens. I think maybe because rc.local tries to run the script before everything is booted up? I tried using "sleep" in the script to give it more time, but that didn't work either. Any idea how to get this to work? ???
Title: Re: How to autostart miner in linux? Post by: john1010 on November 11, 2016, 06:38:28 AM It's too complicated of setting up auto start in linux.. Windows is a user fiendly for miners especially win10 x64
Run type : shell:startup copy the file or program you want to start on startup Title: Re: How to autostart miner in linux? Post by: grizscom on November 11, 2016, 06:42:48 AM I am use the XUbuntu 14.04 with auto-login.
I create file at: ~/.config/autostart/start-miner.sh.desktop it is contains: [Desktop Entry] Encoding=UTF-8 Version=0.9.4 Type=Application Name=miner Comment=miner Exec=/home/user/start-miner.sh OnlyShowIn=XFCE; StartupNotify=false Terminal=false Title: Re: How to autostart miner in linux? Post by: jk_14 on November 11, 2016, 07:54:18 PM I'm trying to have my miner start from a script on start up on a linux 14.04 system (I haven't been using linux very long). I'm trying to use /etc/rc.local to run it, but nothing happens. I think maybe because rc.local tries to run the script before everything is booted up? I tried using "sleep" in the script to give it more time, but that didn't work either. Any idea how to get this to work? ??? it's very easy :) go to /etc/init.d copy some file to a new filename and implement inside what you want then go to: /etc/rc2.d, /etc/rc3.d and /etc/rc5.d add symbolic link to your script: ln -s ../init.d/yourscript S06yourscript then reboot P.S. you can see how to do it - in KopiemTu: https://bitcointalk.org/index.php?topic=520998.0 Title: Re: How to autostart miner in linux? Post by: QuintLeo on November 11, 2016, 11:26:42 PM It's very easy to set up autostart AFTER Xwindows is running if you use the XFCE desktop.
XFCE has a specific menu to control auto-starting stuff. |