Bit of cleaning

This commit is contained in:
kexkey
2021-07-08 14:39:09 -04:00
parent d50be235dd
commit f67ece9bba
3 changed files with 2 additions and 9 deletions

View File

@@ -7,8 +7,7 @@ RUN apk add --update --no-cache \
fcgiwrap \
spawn-fcgi \
curl \
jq \
su-exec
jq
COPY auth.sh /etc/nginx/conf.d/
COPY default.conf /etc/nginx/conf.d/default.conf

View File

@@ -330,7 +330,6 @@ services:
- "<%= logs_datapath %>:/cnlogs"
- "<%= otsclient_datapath %>:/otsfiles"
- "<%= bitcoin_datapath %>/bitcoin-client.conf:/.bitcoin/bitcoin.conf:ro"
command: $USER /script/startotsclient.sh
networks:
- cyphernodenet
<% if ( docker_mode === 'swarm' ) { %>

7
dist/setup.sh vendored
View File

@@ -110,7 +110,7 @@ sudo_if_required() {
}
modify_permissions() {
local directories=("installer" "gatekeeper" "lightning" "bitcoin" "docker-compose.yaml" "traefik" "tor" "$BITCOIN_DATAPATH" "$LIGHTNING_DATAPATH" "$PROXY_DATAPATH" "$GATEKEEPER_DATAPATH" "$OTSCLIENT_DATAPATH" "$LOGS_DATAPATH" "$TRAEFIK_DATAPATH" "$TOR_DATAPATH")
local directories=("$BITCOIN_DATAPATH" "$LIGHTNING_DATAPATH" "$PROXY_DATAPATH" "$GATEKEEPER_DATAPATH" "$OTSCLIENT_DATAPATH" "$LOGS_DATAPATH" "$TRAEFIK_DATAPATH" "$TOR_DATAPATH")
for d in "${directories[@]}"
do
if [[ -e $d ]]; then
@@ -343,11 +343,6 @@ compare_bitcoinconf() {
status='reindex'
fi
if [[ ! $new_testnet == $old_testnet || ! $new_regtest == $old_regtest ]]; then
# warn about reindexing
status='incompatible'
fi
echo $status
}