我正在尝试使用Forever来保持我的 Nodejs 脚本正常运行
根据 Forever 的主页,它说
[Long Running Process]
The forever process will continue to run outputting log messages to the console.
ex. forever -o out.log -e err.log my-script.js
[Daemon]
The forever process will run as a daemon which will make the target process start
in the background. This is extremely useful for remote starting simple node.js scripts
without using nohup. It is recommended to run start with -o -l, & -e.
ex. forever start -l forever.log -o …Run Code Online (Sandbox Code Playgroud)