-
Notifications
You must be signed in to change notification settings - Fork 3
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
서버 배포 스크립트 작성 #26
서버 배포 스크립트 작성 #26
Conversation
메인브랜치 실화인가요? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
배포 스크립트 작성하는 김에 Graceful Shutdown 도 같이 적용하면 좋을 것 같습니다!
backend/deploy.sh
Outdated
echo "> 현재 구동중인 애플리케이션이 없으므로 종료하지 않습니다." | ||
else | ||
echo "> kill -9 $CURRENT_PID" | ||
sudo kill -9 $CURRENT_PID |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sudo kill -9 $CURRENT_PID | |
sudo kill -15 $CURRENT_PID |
강제종료 보다는 정상종료로 안전하게 가는 것은 어떤가요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오 좋습니다!
📄 Summary
🙋🏻 More