iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
various fixes
[distro-setup]
/
filesystem
/
etc
/
systemd
/
system
/
bitcoind.service
diff --git
a/filesystem/etc/systemd/system/bitcoind.service
b/filesystem/etc/systemd/system/bitcoind.service
index 669793380ed6e4a83c3a92a2ee5aa925a1052d93..1a754e9b1745bfd564dd8a25baa46ead50ebb87d 100644
(file)
--- 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]
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 \
ExecStart=/usr/bin/bitcoind -daemonwait \
-pid=/run/bitcoind/bitcoind.pid \
-conf=/etc/bitcoin/bitcoin.conf \