aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/profile/templates/xmr_stak/xmr-stak.conf.erb4
-rw-r--r--modules/profile/templates/xmr_stak/xmr-stak.service.erb2
2 files changed, 3 insertions, 3 deletions
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 @@
1"pool_list" : 1"pool_list" :
2[ 2[
3{"pool_address" : "<%= @mining_pool %>", "wallet_address" : "<%= @wallet %>.<%= @instance %>", "pool_password" : "<%= @password %>", "use_nicehash" : false, "use_tls" : false, "tls_fingerprint" : "", "pool_weight" : 1 }, 3{"pool_address" : "<%= @mining_pool %>", "wallet_address" : "<%= @wallet %>.<%= @instance %>", "rig_id": "", "pool_password" : "<%= @password %>", "use_nicehash" : false, "use_tls" : false, "tls_fingerprint" : "", "pool_weight" : 1 },
4], 4],
5 5
6"currency" : "monero", 6"currency" : "cryptonight",
7"call_timeout" : 10, 7"call_timeout" : 10,
8"retry_time" : 30, 8"retry_time" : 30,
9"giveup_limit" : 0, 9"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
8Type=simple 8Type=simple
9User=xmr_stak 9User=xmr_stak
10Group=xmr_stak 10Group=xmr_stak
11ExecStart=/usr/bin/cpulimit --limit <%= @cpulimit %> /usr/bin/xmr-stak -c /var/lib/xmr_stak/xmr-stak.conf 11ExecStart=/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
12Nice=19 12Nice=19
13 13
14[Install] 14[Install]