mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-28 16:58:03 +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})"
|
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
|
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 #####
|
##### STATISTICS #####
|
||||||
|
|
||||||
# count startings
|
# count startings
|
||||||
|
|
Loading…
Add table
Reference in a new issue