mirror of
https://github.com/runcitadel/core.git
synced 2024-12-27 07:05:05 +00:00
Cleanup
This commit is contained in:
parent
9e772db93f
commit
048171aff3
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -21,8 +21,6 @@ db/*
|
||||||
statuses/*
|
statuses/*
|
||||||
app-data
|
app-data
|
||||||
apps
|
apps
|
||||||
electrs/*
|
|
||||||
fulcrum/*
|
|
||||||
nginx/*
|
nginx/*
|
||||||
i2p/*
|
i2p/*
|
||||||
docker-compose.override.yml
|
docker-compose.override.yml
|
||||||
|
@ -43,7 +41,6 @@ db/citadel-seed/*
|
||||||
!db/.gitkeep
|
!db/.gitkeep
|
||||||
!nginx/.gitkeep
|
!nginx/.gitkeep
|
||||||
!i2p/.gitkeep
|
!i2p/.gitkeep
|
||||||
!fulcrum/.gitkeep
|
|
||||||
|
|
||||||
!**/*.license
|
!**/*.license
|
||||||
services/installed.json
|
services/installed.json
|
||||||
|
|
13
cli/citadel
13
cli/citadel
|
@ -376,19 +376,14 @@ if [[ "$command" = "configure" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$2" = "electrs" ]]; then
|
if [[ "$2" = "electrs" ]]; then
|
||||||
edit_file $CITADEL_ROOT/templates/electrs-sample.toml
|
edit_file $CITADEL_ROOT/app-data/electrs/electrs.toml
|
||||||
prompt_apply_config electrum true
|
prompt_apply_config electrs-service-1 true
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$2" = "fulcrum" ]]; then
|
if [[ "$2" = "fulcrum" ]]; then
|
||||||
if $persist; then
|
edit_file $CITADEL_ROOT/app-date/fulcrum/fulcrum.conf
|
||||||
edit_file $CITADEL_ROOT/templates/fulcrum-sample.conf
|
prompt_apply_config fulcrum-service-1 true
|
||||||
prompt_apply_config electrum true
|
|
||||||
else
|
|
||||||
edit_file $CITADEL_ROOT/fulcrum/fulcrum.conf
|
|
||||||
prompt_apply_config electrum false
|
|
||||||
fi
|
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user