Unitech / Unitech/pm2

Simple question about startup

Open
#5,504 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

Everything is working fine and I'm running 3 node apps using PM2 on a server. I have NSSM set them up as services and 3 IIS sites to make them accessible. I am unclear on one aspect of the setup and I always (probably) handle this wrong.

When I update the code in the node app what needs to be restarted? And should I stop things before updating the files?

I usually stop the IIS site, then stop the service then stop PM2. Then update the repo then start PM2, start the service and start the IIS site. Is this correct and/or needed? Thanks for PM2 BTW.

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

The issue names a deployment setup using Node.js, PM2, NSSM, and IIS but does not identify any repository files or tests. First review the project's deployment or operations documentation, if present, and determine whether it explains what must be restarted when updating an app; done would be a clear, supported update procedure.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
devops
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.