mirror of
https://github.com/runcitadel/core.git
synced 2024-12-26 14:44:37 +00:00
Cleanup
This commit is contained in:
parent
9e772db93f
commit
048171aff3
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -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
|
||||
|
|
13
cli/citadel
13
cli/citadel
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user