
For anyone wanting to run Drivers as a service
I've started to play with "Community Drivers". I'm "dangerous" when it comes to linux and programming languages, and by dangerous I mean I can just about cobble things together to just about work.
Having explored the Kodi, Onkyo and Plex drivers, I've found that they need to/I would benefit from having them run at system start, I've seen 'tmux' mentioned, but struggled to get the desired outcome, so went on the search and found "PM2".
This might help others? http://pm2.keymetrics.io/
Within 4 commands I was up and running.
1. sudo npm install pm2 -g
2. pm2 startup
3. (copy & paste the startup cmd)
4. pm2 start /home/vini/node_modules/neeo-driver-kodi/index.js
Reply
Like
Follow
2
3replies