File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ NETWORK_PASSPHRASE="__NETWORK__"
33HTTP_PORT =11926
44PUBLIC_HTTP_PORT =false
55PEER_PORT =11925
6- DATABASE =" sqlite3:///tmp/stellar-core/galexie-captive-core.db "
6+ DATABASE =" sqlite3://__DATABASE__ "
77ARTIFICIALLY_ACCELERATE_TIME_FOR_TESTING =true
88
99UNSAFE_QUORUM =true
Original file line number Diff line number Diff line change @@ -633,7 +633,10 @@ function init_galexie() {
633633 run_silent " chown-ledger-meta-store" chown -R stellar:stellar $LEDGERMETASTOREHOME
634634
635635 pushd $GALEXIEHOME
636+ mkdir ./captive-core
636637
638+ GALEXIE_CAPTIVE_CORE_CFG=$GALEXIEHOME /etc/stellar-captive-core.cfg
639+ run_silent " finalize-galexie-captivecore-db" perl -pi -e " s*__DATABASE__*$GALEXIEHOME /captive-core/galexie.db*g" $GALEXIE_CAPTIVE_CORE_CFG
637640 perl -pi -e " s/__NETWORK__/$NETWORK_PASSPHRASE /g" etc/galexie.toml
638641 perl -pi -e " s/__NETWORK__/$NETWORK_PASSPHRASE /g" etc/stellar-captive-core.cfg
639642
You can’t perform that action at this time.
0 commit comments