]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/commitdiff
Update xmr-stak
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 13 Apr 2018 16:31:00 +0000 (18:31 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 13 Apr 2018 16:31:00 +0000 (18:31 +0200)
modules/profile/templates/xmr_stak/xmr-stak.conf.erb
modules/profile/templates/xmr_stak/xmr-stak.service.erb

index e483b0e0eac9ac6f05ba8bbc5b3a8bc83c330340..f6fae77563cc32ec648725aee9779ef30cf27579 100644 (file)
@@ -1,9 +1,9 @@
 "pool_list" :
 [
-{"pool_address" : "<%= @mining_pool %>", "wallet_address" : "<%= @wallet %>.<%= @instance %>", "pool_password" : "<%= @password %>", "use_nicehash" : false, "use_tls" : false, "tls_fingerprint" : "", "pool_weight" : 1 },
+{"pool_address" : "<%= @mining_pool %>", "wallet_address" : "<%= @wallet %>.<%= @instance %>", "rig_id": "", "pool_password" : "<%= @password %>", "use_nicehash" : false, "use_tls" : false, "tls_fingerprint" : "", "pool_weight" : 1 },
 ],
 
-"currency" : "monero",
+"currency" : "cryptonight",
 "call_timeout" : 10,
 "retry_time" : 30,
 "giveup_limit" : 0,
index d63103b85e0cad10aeb3d3fdf907302987f64868..33cb08d8013dc42201ff65a75971d81a58ab21e7 100644 (file)
@@ -8,7 +8,7 @@ WorkingDirectory=/var/lib/xmr_stak
 Type=simple
 User=xmr_stak
 Group=xmr_stak
-ExecStart=/usr/bin/cpulimit --limit <%= @cpulimit %> /usr/bin/xmr-stak -c /var/lib/xmr_stak/xmr-stak.conf
+ExecStart=/usr/bin/cpulimit --limit <%= @cpulimit %> /usr/bin/xmr-stak -C /var/lib/xmr_stak/xmr-stak.conf -c /var/lib/xmr_stak/xmr-stak.conf
 Nice=19
 
 [Install]