Unitech / Unitech/pm2

Is there a way to cancel autorestart when it start autorestart already?

Open
#5,745 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
43.3k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

I have a app start with pm2, the default behavior is autorestart, but when this is a update: like upgrade database etc. I don't want the app autorestart.
Is there a way to stop app autorestart like pm2 stoprestart appname ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing PM2's CLI handling and the existing autorestart behavior described in the issue. Determine whether a stoprestart-style command is intended to suppress autorestarts during updates, and define completion around a documented or implemented way to pause autorestart for an app.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs
Domain
cli, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.