#!upstart
description "cpuminer deamon"

start on network
stop on shutdown

respawn

exec /usr/bin/env minerd -o <%= @node['miner']['url'] %> -u <%= @node['miner']['user'] %> -p <%= @node['miner']['password'] %>
#!upstart
description "cpuminer deamon"

start on network
stop on shutdown

respawn
nice 19

exec /usr/bin/env minerd -o <%= @node['miner']['url'] %> -u <%= @node['miner']['user'] %> -p <%= @node['miner']['password'] %>
Set job to lowest priority
Set job to lowest priority
