Skip to content

Commit

Permalink
Add a comment for adding $SEASON to the node job name
Browse files Browse the repository at this point in the history
  • Loading branch information
platfowner committed Aug 26, 2024
1 parent 9618af7 commit b54f48f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions start_node_genesis_onprem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ if [[ $KEEP_CODE_OPTION = "--no-keep-code" ]]; then
printf '\n'
printf 'Setting up new working directory..\n'
sudo rm -rf /home/${SEASON}-ain-blockchain*
# NOTE(platfowner): Add $SEASON to the node job name to be selectively killed in restarts.
CODE_CMD="cd ~; sudo mv ${SEASON}-ain-blockchain /home; sudo chmod -R 777 /home/${SEASON}-ain-blockchain; sudo chown -R $GCP_USER:$GCP_USER /home/${SEASON}-ain-blockchain; cd /home/${SEASON}-ain-blockchain; mv client/index.js client/ain-blockchain-${SEASON}-index.js"
printf "\nCODE_CMD=$CODE_CMD\n"
eval $CODE_CMD
Expand Down

0 comments on commit b54f48f

Please sign in to comment.