ni-c / heimcontrol.js

Home-Automation with node.js and Raspberry PI
MIT License
1.41k stars 297 forks source link

Heimcontrol Startup #65

Open demonic645 opened 10 years ago

demonic645 commented 10 years ago

Hi all,

How do i Start heimcontrol.js on startup or service? Without it crashing, because i tried it with a script but it gives me errors.

Sorry very noob

maverik23 commented 10 years ago

cd ~/heimcontrol.js; sudo node heimcontrol.js

works for me

Duchess1 commented 8 years ago

I'd recommend this: https://www.digitalocean.com/community/tutorials/how-to-use-pm2-to-setup-a-node-js-production-environment-on-an-ubuntu-vps