X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=filesystem%2Fetc%2Fsystemd%2Fsystem%2Fbitcoind.service;h=5d3206d2eefe1da13fa3ce0832ec3b3f45d77231;hb=3f6c5b1f2c72614ee8cb4d0e4325e7beddda9c04;hp=669793380ed6e4a83c3a92a2ee5aa925a1052d93;hpb=768363d8771edb9d9ed82425fa772d77b90139c0;p=distro-setup diff --git a/filesystem/etc/systemd/system/bitcoind.service b/filesystem/etc/systemd/system/bitcoind.service index 6697933..5d3206d 100644 --- a/filesystem/etc/systemd/system/bitcoind.service +++ b/filesystem/etc/systemd/system/bitcoind.service @@ -21,6 +21,10 @@ After=network-online.target Wants=network-online.target [Service] +# iank: on a laptop, when it is doing its catchup, it tends to jump +# between 100% and 180% cpu and makes the fan spin annoyingly. Randomly +# trying out 50% to see if it will make the fan quieter. +CPUQuota=50% ExecStart=/usr/bin/bitcoind -daemonwait \ -pid=/run/bitcoind/bitcoind.pid \ -conf=/etc/bitcoin/bitcoin.conf \