Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pm2 issue #5

Open
wetherallCode opened this issue Jul 15, 2017 · 0 comments
Open

pm2 issue #5

wetherallCode opened this issue Jul 15, 2017 · 0 comments

Comments

@wetherallCode
Copy link

I'm following the instructions for using pm2 and when I enter pm2 startup ubuntu, I get this:

pm2 startup ubuntu
[PM2] Init System found: systemd

PM2 detected systemd but you precised ubuntu
Please verify that your choice is indeed your init system
If you arent sure, just run : pm2 startup

[PM2] You have to run this command as root. Execute the following command:
sudo env PATH=$PATH:/home/deploy/.nvm/versions/node/v8.1.4/bin /home/deploy/.nvm/versions/node/v8.1.4/lib/node_modules/pm2/bin/pm2 startup ubuntu -u deploy --hp /home/deploy
deploy@ubuntu-512mb-nyc1-01:~$ sudo env PATH=$PATH:/home/deploy/.nvm/versions/node/v8.1.4/bin /home/deploy/.nvm/versions/node/v8.1.4/lib/node_modules/pm2/bin/pm2 startup ubuntu -u deploy --hp /home/deploy
[sudo] password for deploy:
deploy is not in the sudoers file. This incident will be reported.

What should I do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant