I’m using crontab to start my local Blynk server on my Raspberry Pi, using the following command:
@reboot sudo java -jar Blynk/server-0.32.0-java8.jar -dataFolder /home/pi/Blynk$
The server is started as it should. But it is started from the /home/pi directory, it seems, so all log files and stuff gets placed in /home/pi. Is there any way to start the server application from a custom directory (e.g. /home/pi/Blynk)?
You can start it from whatever directory you place all the files in. And chose the data folder based on your choice in the startup command and/or also in the
For example I use
/home/gunner/Blynk for all my server files and start my
sudo java -jar /home/gunner/Blynk/server-0.31.1-java8.jar -dataFolder /home/gunner/Blynk &
Need to update my server again I see
Thank you, that seems to have done the trick.