Skip to content

PM2 Pid file is not being create. #5966

@HamidShaikh1499

Description

@HamidShaikh1499

I installed node and pm2(globally) as root user.

I setup all my project as non sudo user and setup ecosystem files for start applications using pm2

When i run pm2 startup. it provides command that command i run as root user. and then pm2 save.

After restart server, then pm2 is not able to restart all applications.

I checked pm-user.service is failing because pm2.pid file not found

I tried many times but PM2.PID is not creating So pm-nonuser.service is failing

Any solution??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions