This commit is contained in:
AaronDewes 2022-11-07 18:50:07 +00:00
parent 9e772db93f
commit 048171aff3
4 changed files with 4 additions and 12 deletions

3
.gitignore vendored
View File

@ -21,8 +21,6 @@ db/*
statuses/*
app-data
apps
electrs/*
fulcrum/*
nginx/*
i2p/*
docker-compose.override.yml
@ -43,7 +41,6 @@ db/citadel-seed/*
!db/.gitkeep
!nginx/.gitkeep
!i2p/.gitkeep
!fulcrum/.gitkeep
!**/*.license
services/installed.json

View File

@ -376,19 +376,14 @@ if [[ "$command" = "configure" ]]; then
fi
if [[ "$2" = "electrs" ]]; then
edit_file $CITADEL_ROOT/templates/electrs-sample.toml
prompt_apply_config electrum true
edit_file $CITADEL_ROOT/app-data/electrs/electrs.toml
prompt_apply_config electrs-service-1 true
exit
fi
if [[ "$2" = "fulcrum" ]]; then
if $persist; then
edit_file $CITADEL_ROOT/templates/fulcrum-sample.conf
prompt_apply_config electrum true
else
edit_file $CITADEL_ROOT/fulcrum/fulcrum.conf
prompt_apply_config electrum false
fi
edit_file $CITADEL_ROOT/app-date/fulcrum/fulcrum.conf
prompt_apply_config fulcrum-service-1 true
exit
fi

View File

View File