mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 10:12:06 +01:00
#3064 remove bitcoind PID file
This commit is contained in:
parent
42e22ad461
commit
1ebd6e4665
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user