This commit is contained in:
Sebastian
2024-03-22 04:59:08 +01:00
parent c26d2003c0
commit a2bd7ca7ca

View File

@@ -8,11 +8,11 @@ echo "running in $BASEPATH"
#IFS=':' read -ra parts <<< $COMPOSE_FILE #IFS=':' read -ra parts <<< $COMPOSE_FILE
# Add the --init.prune option to the command list # Add the --init.prune option to the command list
sed -i '/command:/a \ \ - --init.prune' "$BASEPATH/arbitrum-fullnode.yml" sed -i '/command:/a \ \ - --init.prune' "$BASEPATH/arbitrum-fullnode.yml"
echo "$(cat $BASEPATH/arbitrum-fullnode.yml)" echo "$(cat $BASEPATH/arbitrum-fullnode.yml)"
docker-compose -f "$BASEPATH/docker-compose.yml" up -d docker-compose -w "$BASEPATH" up -d
while true; do while true; do
# Execute SSH command and extract the answer # Execute SSH command and extract the answer