how to automatically restart a node server?

前端 未结 3 1402
后悔当初
后悔当初 2021-02-06 22:23

We are finishing development of a project, the client is already using it but occasionally some errors occur - crashing the server.

I know I could register a service as

3条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-06 22:46

    Yes, upstart will restart your process without a reboot.

    Also, you should look into forever.

提交回复
热议问题