Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-shashank committed Jun 5, 2024
1 parent 0cea286 commit 86544ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ansible/archival-snapshots/resources/diff_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ SECONDS_PER_EPOCH=30
# Clear Upload List
if [ -f "$UPLOAD_QUEUE" ]; then
# Clear the contents of the file
> "$UPLOAD_QUEUE"
true > "$UPLOAD_QUEUE"
fi


aws --profile prod --endpoint "$ENDPOINT" s3 ls "s3://forest-archive/mainnet/diff/" > "$UPLOADED_DIFFS"

for i in $(seq 1 $DIFF_COUNT); do
Expand Down
2 changes: 1 addition & 1 deletion ansible/archival-snapshots/resources/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ else
fi

echo "Starting forest daemon"
nohup $FOREST --no-gc --config ./config.toml --save-token ./admin_token --rpc-address 127.0.0.1:3456 --metrics-address 127.0.0.1:5000 > forest.log &
nohup $FOREST --no-gc --config ./config.toml --save-token ./admin_token --rpc-address 127.0.0.1:3456 --metrics-address 127.0.0.1:5000 > forest.log 2>&1 &
FOREST_NODE_PID=$!

sleep 30
Expand Down

0 comments on commit 86544ae

Please sign in to comment.