Enabling autostart with rc.local

You can configure the Raspberry Pi to autostart your Blynk server when the system starts:

  1. On your Raspberry Pi, edit the /etc/rc.local file using the nano editor:
pi@raspberrypi:~ $sudonano /etc/rc.local
  1. Add the following command after the comment, but leave the exit 0 line at the end, then save (Ctrl + O, followed by Enter) the file and Exit (Ctrl + X):
java -jar /home/pi/server-0.33.4.jar -dataFolder /home/pi/Blynk &
Editing the rc.local file
  1. Enter the following to reboot the Pi:
pi@raspberrypi:~ $sudo reboot
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.131.238