mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-19 18:00:22 +01:00
reduce bitcoind memory usage w MALLOC_ARENA_MAX=1 (#3780)
This commit is contained in:
parent
9c25636217
commit
086b022698
@ -10,6 +10,7 @@ Wants=network-online.target
|
||||
#OnFailure=systemd-sendmail@%n
|
||||
|
||||
[Service]
|
||||
Environment='MALLOC_ARENA_MAX=1'
|
||||
ExecStartPre=-/home/admin/config.scripts/blitz.systemd.sh log blockchain STARTED
|
||||
ExecStart=/usr/local/bin/bitcoind -daemonwait \
|
||||
-conf=/mnt/hdd/bitcoin/bitcoin.conf \
|
||||
|
@ -254,6 +254,7 @@ After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Environment='MALLOC_ARENA_MAX=1'
|
||||
ExecStart=/usr/local/bin/bitcoind -${CHAIN} \\
|
||||
-daemonwait \\
|
||||
-conf=/mnt/hdd/bitcoin/bitcoin.conf \\
|
||||
|
Loading…
Reference in New Issue
Block a user