Author

Topic: [ANN] - LTC minerd install as Ubuntu Linux service! (Read 11514 times)

full member
Activity: 126
Merit: 100

Just used this, thanks !  Grin
legendary
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
Guys,

 Compile and install (./autogen.sh ; CFLAGS=-O3 ./configure ; make ; make install) your minerd (git clone https://github.com/pooler/cpuminer.git) as usual and create the following file:

 file /etc/init/ltc-miner.conf with:

Code:
description     "LTC Mining"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
kill timeout 30
script
  exec minerd --url http://mine.pool-x.eu:8337 --userpass UltraX.miner0:1234 -s 3
end script

 And to run your minerd, type:

Code:
sudo service ltc-miner start

 If the service (minerd) dies, don't worry, Ubuntu Linux will start it again automatically.

 BTW, the minerd service will start up automatically on every boot.

Best!
Thiago
Jump to: