Auto Start pm2 on boot

To auto start pm2 on boot, run

This will generate auto start script for your system.

Once you started all applications, you can save it with

To uninstall, run

Running Application as Normal User

First login as the user, then start the application using pm2.

Now save it.

Generate command for auto startup

It will show a command. That you need to run as user root. If you have sudo privilage, you can run it with sudo as same user.

This will create a service with name pm2-USERNAME.

After reboot, you will be able to check status with command

See pm2

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *