how to restart node application automatically on aws elastic-beanstalk

前端 未结 6 968
后悔当初
后悔当初 2021-02-01 19:34

I have googled this question for a while but can\'t find the answer. My question is while deploying the nodejs application on aws elastic-beanstalk servers, I want the nodejs ap

6条回答
  •  闹比i
    闹比i (楼主)
    2021-02-01 20:15

    If you want to restart the server from cron then you could use these commands.

    aws elasticbeanstalk restart-app-server --environment-name my-env
    

    Reference

提交回复
热议问题