How to make sure an application keeps running on Linux

前端 未结 16 1385
清歌不尽
清歌不尽 2020-11-28 18:51

I\'m trying to ensure a script remains running on a development server. It collates stats and provides a web service so it\'s supposed to persist, yet a few times a day, it

16条回答
  •  广开言路
    2020-11-28 19:37

    Put your run in a loop- so when it exits, it runs again... while(true){ run my app.. }

提交回复
热议问题