forever daemon

Environment: windows/linux, etc.

Install into the global environment:

npm install forever -g

View the process list: forever list

(There is no daemon yet)

Start the daemon process (locate a relative path to a file): forever start /src/App/Controller/a.php

 

Stop the daemon: forever stop /src/App/Controller/a.php

Guess you like

Origin blog.csdn.net/xyy_forever/article/details/82379440