From d174affd5fe3291ad24f926ce1f2d5130472667e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 13 Apr 2018 18:31:00 +0200 Subject: Update xmr-stak --- modules/profile/templates/xmr_stak/xmr-stak.conf.erb | 4 ++-- modules/profile/templates/xmr_stak/xmr-stak.service.erb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/profile') diff --git a/modules/profile/templates/xmr_stak/xmr-stak.conf.erb b/modules/profile/templates/xmr_stak/xmr-stak.conf.erb index e483b0e..f6fae77 100644 --- a/modules/profile/templates/xmr_stak/xmr-stak.conf.erb +++ b/modules/profile/templates/xmr_stak/xmr-stak.conf.erb @@ -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, diff --git a/modules/profile/templates/xmr_stak/xmr-stak.service.erb b/modules/profile/templates/xmr_stak/xmr-stak.service.erb index d63103b..33cb08d 100644 --- a/modules/profile/templates/xmr_stak/xmr-stak.service.erb +++ b/modules/profile/templates/xmr_stak/xmr-stak.service.erb @@ -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] -- cgit v1.2.3