Created
July 20, 2017 02:15
-
-
Save yesidlazaro/f63138134fa82eb4845a07e0d56804d0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo su | |
as root, rm /etc/init.d/pm2-init.sh | |
as root, run pm2 startup. it still complains that /etc/init.d/pm2-init.sh links already exists, despite just removing it | |
as root, pm2 start (my processes, eg ecosystem.json), pm2 start ecosystem.json | |
as root, pm2 save | |
reboot (if ubuntu) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment