Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: ThiagoCMC on December 20, 2011, 11:52:23 PM



Title: [ANN] - LTC minerd install as Ubuntu Linux service!
Post by: ThiagoCMC on December 20, 2011, 11:52:23 PM
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


Title: Re: [ANN] - LTC minerd install as Ubuntu Linux service!
Post by: saigo on May 12, 2013, 12:57:28 PM

Just used this, thanks !  ;D