mirror of
https://github.com/mempool/mempool.git
synced 2024-11-20 10:21:52 +01:00
11 lines
586 B
Plaintext
11 lines
586 B
Plaintext
# start elements on reboot
|
|
@reboot sleep 60 ; /usr/local/bin/elementsd -chain=liquidv1 >/dev/null 2>&1
|
|
@reboot sleep 60 ; /usr/local/bin/elementsd -chain=liquidtestnet >/dev/null 2>&1
|
|
|
|
# start electrs on reboot
|
|
@reboot sleep 90 ; screen -dmS liquidv1 /elements/electrs/electrs-start-liquid
|
|
@reboot sleep 90 ; screen -dmS liquidtestnet /elements/electrs/electrs-start-liquidtestnet
|
|
|
|
# hourly asset update and electrs restart
|
|
6 * * * * cd $HOME/asset_registry_db && git pull --quiet origin master && cd $HOME/asset_registry_testnet_db && git pull --quiet origin master && killall electrs
|