diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-04-13 18:31:00 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-04-13 18:31:00 +0200 |
commit | d174affd5fe3291ad24f926ce1f2d5130472667e (patch) | |
tree | a298f7bc716e05aa6d6139d75df55bd181742ecc /modules/profile | |
parent | ee6ba00110278fc2c82e5c880177759c7161b342 (diff) | |
download | Puppet-d174affd5fe3291ad24f926ce1f2d5130472667e.tar.gz Puppet-d174affd5fe3291ad24f926ce1f2d5130472667e.tar.zst Puppet-d174affd5fe3291ad24f926ce1f2d5130472667e.zip |
Update xmr-stak
Diffstat (limited to 'modules/profile')
-rw-r--r-- | modules/profile/templates/xmr_stak/xmr-stak.conf.erb | 4 | ||||
-rw-r--r-- | modules/profile/templates/xmr_stak/xmr-stak.service.erb | 2 |
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 | |||
8 | Type=simple | 8 | Type=simple |
9 | User=xmr_stak | 9 | User=xmr_stak |
10 | Group=xmr_stak | 10 | Group=xmr_stak |
11 | ExecStart=/usr/bin/cpulimit --limit <%= @cpulimit %> /usr/bin/xmr-stak -c /var/lib/xmr_stak/xmr-stak.conf | 11 | 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 |
12 | Nice=19 | 12 | Nice=19 |
13 | 13 | ||
14 | [Install] | 14 | [Install] |