0

N00b here. How to autostart on Raspbian?

gett 6 years ago updated 6 years ago 1

Hi.

I am starting Ubooquity on my remote Pi with


cd /opt/ubooquity

sudo java -jar Ubooquity.jar --remoteadmin --headless


and all works fine. But, if I quit putty (I'm accessing Pi from Win10 computer), server is unavailable. I'am n00b in linux, so I don't know how to start Ubooquity after reboot. 

Help, please?




Ok, I solved it


sudo nano /etc/rc.local


#Ubooquity
cd /opt/ubooquity && java -jar Ubooquity.jar --remoteadmin --headless > /dev/null &