Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alias "apps" with "pm2" in json/yml declarations #2290

Closed
Unitech opened this issue Jul 21, 2016 · 2 comments
Closed

Alias "apps" with "pm2" in json/yml declarations #2290

Unitech opened this issue Jul 21, 2016 · 2 comments

Comments

@Unitech
Copy link
Owner

Unitech commented Jul 21, 2016

This is more explanatory when declaring application behavioral options in package.json for example.

{
  "name": "pm2-webshell",
  "description": "Webshell",
  "version": "3.0.1",
  "pm2" : {
     "script" : "app.js",
     "max_memory_restart" : "200M"
  },
  "dependencies": {
    "debug": "~2.2.0",
  },
  "license": "MIT"
}
@Unitech
Copy link
Owner Author

Unitech commented Jul 2, 2017

pending release

@Unitech
Copy link
Owner Author

Unitech commented Jul 20, 2017

Published on PM2 2.6.0:

$ npm install pm2@latest -g
$ pm2 update

@Unitech Unitech closed this as completed Jul 20, 2017
inerc pushed a commit to inerc/pm2 that referenced this issue Feb 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant