Detailed instruction on how to get Blynk to run on startup

Could someone please give me some more detailed instructions on how to get blynk to run on start up on raspberry pi. I have tried everything. Thanks

You try this (from https://github.com/blynkkk/blynk-server)?

I’ve had great success with the crontab- make sure you’re typing in the correct server version that you’ve downloaded. Also, have you actually tried starting up the server?

Enabling server auto restart on unix-like systems

To enable server auto restart find /etc/init.d/rc.local file and add :

java -jar /home/pi/server-0.15.2.jar -dataFolder /home/pi/Blynk &
Or in case above approach doesn't work for you, execute

crontab -e
add the following line

    @reboot java -jar /home/pi/server-0.15.2.jar -dataFolder /home/pi/Blynk &
1 Like