aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-04-13 18:31:00 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-04-13 18:31:00 +0200
commitd174affd5fe3291ad24f926ce1f2d5130472667e (patch)
treea298f7bc716e05aa6d6139d75df55bd181742ecc /modules
parentee6ba00110278fc2c82e5c880177759c7161b342 (diff)
downloadPuppet-d174affd5fe3291ad24f926ce1f2d5130472667e.tar.gz
Puppet-d174affd5fe3291ad24f926ce1f2d5130472667e.tar.zst
Puppet-d174affd5fe3291ad24f926ce1f2d5130472667e.zip
Update xmr-stak
Diffstat (limited to 'modules')
-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]