zot24
10/10/2014 - 4:52 PM

Run this command to run your application as a service by typing the following

Run this command to run your application as a service by typing the following

pm2 start index.js --name "ghost" -e err.log -o out.log
sudo env PATH=$PATH:/usr/bin pm2 startup ubuntu -u ghost