when I reboot ubuntu,the nodebb need used ./nodebb start
to start
How to keep nodebb auto-start
etc
- Upstart
- pm2
- Forever
Which is better?
I'm used
npm install -g forever
cd /var/www/nodebb
forever start app.js
But it doesn't work when reboot
Ubuntu 16.04.2 LTS
Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused