What is the best way to create a autostart on the Raspberry Pi. Whe use the Node installation.
Im not a programmer so these is al new stuff for mij
What is the best way to create a autostart on the Raspberry Pi. Whe use the Node installation.
Im not a programmer so these is al new stuff for mij
Well it might be worth asking this on a RPI forum I think
as o-s-c can run on a node mode (right ?) https://openstagecontrol.ammd.net/docs/getting-started/running-with-node/#running-with-node
maybe try this
https://dev.to/bogdaaamn/run-your-nodejs-application-on-a-headless-raspberry-pi-4jnn
and adapt it.
I donβt have tested it.
Oke Ive found the sollutions. For some reason rc.local give some issues.
Ive use now crontab as a autorstart application whit these command:
@reboot sudo node β¦/app [options]
Start crontab as a root sudo crontab -e otherwhise it while not start on a reboot.
Fore the beginners like me More info about crontab you while found here
A step by step Tutorial for how to Auto Run Python programs on the Raspberry Pi.
These works fine.
Pretty old post but I use pm2 on my pi to control Open Stage. You can start/stop multiple instances of OSC of you want. Also they have the ability to remote check if de the app is still running
PM2.