Author

Topic: How to autostart miner in linux? (Read 1096 times)

legendary
Activity: 1498
Merit: 1030
November 11, 2016, 06:26:42 PM
#5
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.
legendary
Activity: 1292
Merit: 1000
November 11, 2016, 02:54:18 PM
#4
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?  Huh


it's very easy Smiley

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://bitcointalksearch.org/topic/kopiemtu-30-ethash-equihash-nvidia-usb-linux-distro-520998
sr. member
Activity: 245
Merit: 256
November 11, 2016, 01:42:48 AM
#3
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


hero member
Activity: 2100
Merit: 562
November 11, 2016, 01:38:28 AM
#2
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
legendary
Activity: 1241
Merit: 1005
..like bright metal on a sullen ground.
November 10, 2016, 10:58:42 PM
#1
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?  Huh
Jump to: