mirror of
https://github.com/mempool/mempool.git
synced 2024-11-19 09:52:14 +01:00
11 lines
568 B
Plaintext
11 lines
568 B
Plaintext
# start elements on reboot
|
|
@reboot sleep 5 ; /usr/local/bin/elementsd -chain=liquidv1 >/dev/null 2>&1
|
|
@reboot sleep 5 ; /usr/local/bin/elementsd -chain=liquidtestnet >/dev/null 2>&1
|
|
|
|
# start electrs on reboot
|
|
@reboot sleep 20 ; screen -dmS liquidv1 /elements/electrs/start liquid
|
|
@reboot sleep 20 ; screen -dmS liquidtestnet /elements/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
|