More systemd changes

This commit is contained in:
Enki 2024-01-09 16:05:00 -08:00
parent 6bb3df8d2f
commit 13daaf1c76

View File

@ -527,13 +527,13 @@ create_bitcoin_core_service() {
User=bitcoin User=bitcoin
Group=bitcoin Group=bitcoin
Type=forking Type=forking
ExecStart=/usr/local/bin/bitcoind -conf=/home/bitcoin/.bitcoin/bitcoin.conf -pid=/run/bitcoind.pid ExecStart=/usr/local/bin/bitcoind -conf=/home/bitcoin/.bitcoin/bitcoin.conf
Restart=always Restart=always
PrivateTmp=true PrivateTmp=true
TimeoutStopSec=480s TimeoutStopSec=480s
TimeoutStartSec=480s TimeoutStartSec=480s
StartLimitInterval=480s StartLimitInterval=600s
StartLimitBurst=10 StartLimitBurst=5
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target