Pm2: Providing app name doesn't rename the process

Created on 30 Aug 2015  路  10Comments  路  Source: Unitech/pm2

I am trying to start a process with a specific name:

$ pm2 start app.js --name "api"

However, the process is still running as app:

screen shot 2015-08-30 at 9 51 32 am

Icebox stale

Most helpful comment

Updating application name via pm2 restart app --name "new-name" --update-env

All 10 comments

Just delete it first

pm2 delete app

Updating application name via pm2 restart app --name "new-name" --update-env

Update available ([email protected] - latest stable):

$ npm install pm2@latest -g
$ pm2 update

Please re-open this issue if you notice any problem,

I still have this issue. I still not able to rename my process @Unitech

@indrasantosa Are you sure that you have updated the PM2 Daemon ? Do a pm2 update to be sure.

Hi @vmarchaud, Yes, I use pm2 2.1.5

same here doesn't work. on version 2 .1.6

same here doesn't work. on version 2.2.2

pm2 restart app --name "new-name" --update-env

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

getvega picture getvega  路  3Comments

rangercyh picture rangercyh  路  4Comments

psparago picture psparago  路  3Comments

FujiHaruka picture FujiHaruka  路  3Comments

cchan picture cchan  路  3Comments