X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=filesystem%2Fetc%2Fsystemd%2Fsystem%2Fbitcoind.service;h=1a754e9b1745bfd564dd8a25baa46ead50ebb87d;hb=7f9af41bd119784d4f062731911d1485d224ec73;hp=669793380ed6e4a83c3a92a2ee5aa925a1052d93;hpb=d6def754cd241538c61456536b52ee51cbd85b42;p=distro-setup diff --git a/filesystem/etc/systemd/system/bitcoind.service b/filesystem/etc/systemd/system/bitcoind.service index 6697933..1a754e9 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. +# 50% still had annoying fan spin. trying out 20% +CPUQuota=20% ExecStart=/usr/bin/bitcoind -daemonwait \ -pid=/run/bitcoind/bitcoind.pid \ -conf=/etc/bitcoin/bitcoin.conf \