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

migrate from forever to pm2 #116

Open
empierre opened this issue May 4, 2016 · 2 comments
Open

migrate from forever to pm2 #116

empierre opened this issue May 4, 2016 · 2 comments
Assignees
Milestone

Comments

@empierre
Copy link
Owner

empierre commented May 4, 2016

No description provided.

@empierre empierre self-assigned this May 4, 2016
@empierre empierre added this to the M4 milestone May 4, 2016
@empierre
Copy link
Owner Author

empierre commented May 4, 2016

installation:
sudo npm install pm2 -g
pm2 start /usr/share/mydomoathome/lib/mdah.js
sudo env PATH=$PATH:/usr/local/bin pm2 startup -u www-data
pm2 save

update/remove:
pm2 stop all

status:
pm2 list

@empierre empierre modified the milestones: M5, M4 May 25, 2016
@empierre
Copy link
Owner Author

pm2 start mdah.js -i 0 --name "MDAH"
pm2 restart MDAH
pm2 stop MDAH

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

No branches or pull requests

1 participant