mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-01-31 10:14:35 +01:00
Bit of cleaning
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
7
dist/setup.sh
vendored
@@ -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
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user