$pm2 save

$ pm2 startup
[PM2] Init System found: systemd
[PM2] You have to run this command as root. Execute the following command:
sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u sinopia –hp /home/sinopia

Leave a Reply

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