#3064 remove bitcoind PID file

This commit is contained in:
rootzoll 2022-05-17 17:54:13 +02:00
parent 42e22ad461
commit 1ebd6e4665
2 changed files with 0 additions and 5 deletions

View File

@ -12,7 +12,6 @@ Wants=network-online.target
[Service]
ExecStartPre=-/home/admin/config.scripts/blitz.systemd.sh log blockchain STARTED
ExecStart=/usr/local/bin/bitcoind -daemonwait \
-pid=/mnt/hdd/bitcoin/bitcoind.pid \
-conf=/mnt/hdd/bitcoin/bitcoin.conf \
-datadir=/mnt/hdd/bitcoin \
-debuglogfile=/mnt/hdd/bitcoin/debug.log
@ -24,7 +23,6 @@ ExecStartPre=/bin/chgrp bitcoin /mnt/hdd/bitcoin
# Process management
####################
Type=forking
PIDFile=/mnt/hdd/bitcoin/bitcoind.pid
Restart=on-failure
TimeoutStartSec=infinity
TimeoutStopSec=600

View File

@ -253,10 +253,8 @@ After=network-online.target
Wants=network-online.target
[Service]
PIDFile=/mnt/hdd/bitcoin/${prefix}bitcoind.pid
ExecStart=/usr/local/bin/bitcoind -${CHAIN} \\
-daemonwait \\
-pid=/mnt/hdd/bitcoin/${prefix}bitcoind.pid \\
-conf=/mnt/hdd/bitcoin/bitcoin.conf \\
-datadir=/mnt/hdd/bitcoin \\
-debuglogfile=${bitcoinlogpath}
@ -268,7 +266,6 @@ ExecStartPre=/bin/chgrp bitcoin /mnt/hdd/bitcoin
# Process management
####################
Type=forking
PIDFile=/mnt/hdd/bitcoin/${prefix}bitcoind.pid
Restart=on-failure
TimeoutStartSec=infinity
TimeoutStopSec=600