felixyu9 / nodejs-express-on-aws-ec2

63 stars 382 forks source link

why kill node ? #3

Open puni-p3 opened 2 years ago

puni-p3 commented 2 years ago

Is there any specific reason whykill node? Won't this effect other node application running on the same instance?

https://github.com/felixyu9/nodejs-express-on-aws-ec2/blob/5c952bf6e82eaab518989d667afb848b02a0ff8f/scripts/application_stop.sh#L4

yusuf963 commented 1 year ago

assuming you have only one node process on the EC2.

if you have more than once node process running on a xx port, do kill any process