how to use forever with npm

 https://stackoverflow.com/questions/62236455/how-to-use-forever-with-npm

try this command:
forever start -c "npm start" ./

running your application's specific directory:

forever start -c "npm start" /path/dir/

or use this command:

forever --sourceDir /path/dir/ -c "npm start" /

Không có nhận xét nào:

Check to be sure that port 22 is enabled before you reload

 https://superuser.com/questions/590600/ufw-is-active-but-not-enabled-why etting  ENABLED=yes  in  /etc/ufw/ufw.conf  did it for me. $ sudo ...