Top "Pm2" questions

PM2 is a CLI process manager for Node.

How to pass node v8 args and script args to pm2?

I need to be able to start the app below with pm2 but don't know how to start it with …

node.js production pm2
How to run nuxt under pm2?

I have 2 nuxt projects that need to be run on the server. Whenever I run the app locally it seems …

node.js npm ubuntu-16.04 pm2 nuxt.js
How to pass NODE_ENV=production to pm2?

I have this node app deployed and runs fine with NODE_ENV=production yarn start. I can demonize the app …

node.js pm2
Kill a Docker Container

I've set up a Docker container for my node app and ran it using docker run -p 4500:4500 my_node_app …

shell docker pm2
Restart pm2 app every 12h with cron

Tried this, but it doesn't work: SHELL=/bin/bash PATH=/usr/lib/node_modules/pm2/bin * 0,12 * * * pm2 restart all What …

node.js cron crontab pm2
How do I delete/flush pm2 logs for only one app?

Can I flush the logs of only one app in Pm2? Assuming my app id is 2 I tried pm2 flush 2 …

pm2
permission denied, mkdir in container on openshift

I have a container with nodejs and pm2 as start command and on OpenShift i get this error on startup: …

node.js docker openshift pm2
rename process using pm2 programmatic api

I have an electron app which uses pm2 to start some apps using the pm2 module.Everything is fine.However …

node.js electron pm2
Expressjs pm2 ignore watch public/images folder

I have a website using nodejs. Problem is when user upload images the site stop working. That because of PM2 …

javascript node.js express pm2
Why is PM2 not launching my Node process?

Previously I have had success implementing PM2, but not currently. My node app does run just fine if I start …

node.js pm2 process-management