I have a nodejs application running on a server.
When should I use pm2 restart , and when should I use pm2 reload ?
It refers to pm2 here , but could not understand the difference in the case of using these two.
The difference is fixed here :
Unlike restart, which kills and restarts the process, it reloadrestarts for 0 seconds.
restart
reload
The latter means (found here ):
FunctionPM2 reload <app name> , - , , .
PM2 reload <app name> , - , , .
reload <app name>
, 4 , pm2 40 , ss -lnt | grep; , .
Source: https://habr.com/ru/post/1680626/More articles:AWS Event History Event Limitation - amazon-web-servicesAndroid TV app - androidHow to list a dataset in an h5py file? - h5pyflyer: how to disable the zoom event after using boxzoom (shift + move mouse) - javascriptRewrite leaflet - javascriptmy js file does not work after I do the routing - jqueryКак объявить функцию асинхронного генератора - javascriptVagrant 1.9.6 hangs on command "tramp ssh" - vagrantRelay Modern target createFragmentContainer - javascriptgroupby and return all rows of the first n groups - pythonAll Articles