1.1.2 • Published 4 months ago

pm2manager v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

Pm2Manager

A CLI to init PM2 config file for a whole folder. It will create a ecosystem.config.js file for the directory you want to manage.

The content of the file will be something like the below:

module.exports = {
  "apps": [
    {
      "name": "app1",
      "cwd": "/path/to/app1",
      "script": "./pm2.start.sh"
    },
    {
      "name": "app2",
      "cwd": "/path/to/app2",
      "script": "./pm2.start.sh"
    },
  ]
}

So the default script is pm2.start.sh and you will need to create that file in each of your app folder in order for it to work.

Installation

Using npm:

npm install -g pm2manager

Or, using yarn:

yarn global add pm2manager

Usage

pm2manager init [path]
1.1.1

4 months ago

1.1.2

4 months ago

1.1.0

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago