Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-shashank committed May 21, 2024
1 parent bec59ca commit f6a82d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ansible/archival-snapshots/resources/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ fi
echo "Starting forest daemon"
nohup $FOREST --config ./config.toml --save-token ./admin_token --rpc-address 127.0.0.1:3456 --metrics-address 127.0.0.1:5000 --import-snapshot "$CURRENT_FULL_SNAPSHOT_PATH" > forest.log 2>&1 &
FOREST_NODE_PID=$!

sleep 60s
echo "Forest process started with PID: $FOREST_NODE_PID"

admin_token=$(cat admin_token)
export FULLNODE_API_INFO="${admin_token}:/ip4/127.0.0.1/tcp/3456/http"
Expand Down

0 comments on commit f6a82d8

Please sign in to comment.