mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-28 16:58:03 +01:00
reduce bitcoind memory usage w MALLOC_ARENA_MAX=1 (#3780)
This commit is contained in:
parent
9c25636217
commit
086b022698
2 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue