pm2:tldr:07fed
pm2: Stop a process.
$ pm2 stop ${application_name}
try on your machine
This command is used to stop an application managed by PM2 (Process Manager 2).
In the command, ${application_name}
is a placeholder for the actual name of the application. You need to replace it with the name of the specific application you wish to stop.
When executed, PM2 will identify the application based on the provided name, and then gracefully stop the process associated with it. This means that PM2 will send a termination signal to the application, allowing it to clean up any resources and shut down properly. The application will then exit, and PM2 will update its status accordingly.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.