2022-08-02 01:00:06 +02:00
|
|
|
# start elements on reboot
|
2023-08-09 16:43:49 +02:00
|
|
|
@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
|
2022-08-02 01:00:06 +02:00
|
|
|
|
|
|
|
# start electrs on reboot
|
2024-01-20 13:20:40 +01:00
|
|
|
@reboot sleep 20 ; screen -dmS liquidv1 /elements/electrs/start liquid
|
|
|
|
@reboot sleep 20 ; screen -dmS liquidtestnet /elements/electrs/start liquidtestnet
|
2022-08-02 01:00:06 +02:00
|
|
|
|
|
|
|
# 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
|