Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deploy.sh #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update deploy.sh #52

wants to merge 1 commit into from

Conversation

gupta-suyash
Copy link
Contributor

Assigning each log a different index so that it is easy to identify the logs returned by different replicas.

Assigning each log a different index so that it is easy to identify the logs returned by different replicas.
@@ -96,7 +96,7 @@ for ip in ${deploy_iplist[@]};
do
private_key="cert/node_"${idx}".key.pri"
cert="cert/cert_"${idx}".cert"
run_one_cmd "nohup ./${server_bin} server.config ${private_key} ${cert} > ${server_bin}.log 2>&1 &" &
run_one_cmd "nohup ./${server_bin} server.config ${private_key} ${cert} > ${server_bin}${idx}.log 2>&1 &" &
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you remove this, once all the binaries are running at the same machine, their logs will be lost.

Copy link

@Free44729 Free44729 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gupta-suyash-patch-1

@Free44729
Copy link

#52 (review)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants