diff --git a/doc/pm2.md b/doc/pm2.md index c54a4d7..5685aae 100644 --- a/doc/pm2.md +++ b/doc/pm2.md @@ -41,18 +41,6 @@ npm install pm2 -g && pm2 update pm2 completion install ``` -* start the service as npm start script with PM2 -``` -cd ~/git/data-api/ -grep start package.json -pm2 start --name api-data.vbn.de npm -- start --watch -``` - -* register/save the current list of processes you want to manage using PM2 so that they will re-spawn at system boot (every time it is expected or an unexpected server restart) -``` -pm2 save -``` - * restart/logout/login your system, and check if all the serviceis running under PM2 ``` pm2 ls @@ -69,8 +57,8 @@ pm2 monit * view details of a single Node process using the process ID or name ``` -pm2 show 0 -pm2 show api-data.vbn.de +pm2 show +pm2 show ``` * list of some common process (single or all) management command