-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 startup, only works after an ssh login #646
PM2 startup, only works after an ssh login #646
Comments
|
+1 I am on ubuntu 12.04 and it does not work.
|
It seems that the error is file The path of PM2 is not good. Since the user is connected with
it works for me. |
What was the path assigned to PM2 ? I just tried here everything is ok |
and the real path is
|
With nvm global package are linked
But worth inspecting |
Indeed |
maybe we should ask to Mooser if it works for him. |
@mooser any updates on this? Could you try to simply use Thanks. |
@soyuka I haven't had time to try yet. I will let you guys know! |
My user is called "ubuntu" on system ubuntu 12.04 and I run:
sudo pm2 startup ubuntu
I think have to login as "ubuntu" after server restarts in order for pm2 to actually startup.
Any ideas on what I can do to get it to work without having to ssh in after a restart?
The text was updated successfully, but these errors were encountered: