mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
fix debug.log permissions
This commit is contained in:
parent
23eca9dfee
commit
cdca6f94b8
1 changed files with 4 additions and 0 deletions
|
|
@ -88,6 +88,10 @@ bitcoin_precmd()
|
|||
{
|
||||
bitcoin_checkconfig
|
||||
|
||||
# ensure debug.log exists & override default permissions
|
||||
touch "${bitcoin_data_dir}/debug.log"
|
||||
chmod 644 "${bitcoin_data_dir}/debug.log"
|
||||
|
||||
pid=$(check_pidfile "${pidfile}" "${procname}")
|
||||
if [ -z "${pid}" ]
|
||||
then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue