forex.pm forex forum binary options trade

 Сryptocurrency exchanges => Binance - Сryptocurrency exchanges => Topic started by: Bitcoin on Feb 27, 2022, 06:21 am

Title: How to regularly restart bitcoind after some period of time on Linux
Post by: Bitcoin on Feb 27, 2022, 06:21 am
How to regularly restart bitcoind after some period of time on Linux

If, like me you wish to automatically restart bitcoind after some period of time, or if it crashes at least it will restart sometime on it's own you know that it can take a long time on Linux before process cache finishes writing to disk and then you can restart without the dreaded message Error: Cannot obtain a lock on data directory /media/drive2/.bitcoin/. Bitcoin Core is probably already running.


How to restart bitcoind automatically without error message?


Source: How to regularly restart bitcoind after some period of time on Linux (https://bitcoin.stackexchange.com/questions/112620/how-to-regularly-restart-bitcoind-after-some-period-of-time-on-linux)