mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-28 08:54:16 +01:00
#4300 make sure bitcoin debug.log exists
This commit is contained in:
parent
622135c570
commit
1404ac3285
1 changed files with 6 additions and 0 deletions
|
@ -67,6 +67,12 @@ if [ "$1" == "prestart" ]; then
|
|||
echo "# make sure entry(${bitcoinlog_entry}) has the correct value(${bitcoinlog_path})"
|
||||
sed -i "s|^${bitcoinlog_entry}=.*|${bitcoinlog_entry}=${bitcoinlog_path}|g" /mnt/hdd/bitcoin/bitcoin.conf
|
||||
|
||||
# make sure bitcoin debug file exists
|
||||
echo "# make sure bitcoin debug file exists"
|
||||
touch ${bitcoinlog_path}
|
||||
chown bitcoin:bitcoin ${bitcoinlog_path}
|
||||
chmod 600 ${bitcoinlog_path}
|
||||
|
||||
##### STATISTICS #####
|
||||
|
||||
# count startings
|
||||
|
|
Loading…
Add table
Reference in a new issue