It seems like this should be a valid json config,
{
"apps:" : [
{
"name" : "dropbox",
"script" : "server.js",
}
]
}
But it will throw [PM2][ERROR] No script path - aborting. Instead you need to get rid of the "apps" key. This works.
{
"name" : "dropbox",
"script" : "server.js",
}
I did not see this anywhere in the docs so I thought I'd post it. I'd be happy to work on a PR if somebody can point me to the file.
Todd
It's apps not apps:
apps:
uggghhhhh can't believe I fell for that :-(
Most helpful comment
uggghhhhh can't believe I fell for that :-(