0
Can't start server on boot, raspberry pi. Only runs while Putty is open.
Hello!
I have been using this guide to try and set up my ubooquity server. https://www.htpcguides.com/install-ubooquity-on-raspberry-pi-for-personal-ebook-server/
changing
export UBOOQUITY_HOME=/opt/ubooquity
DAEMON_NAME="Ubooquity"
DAEMON_USER=root
DAEMON_PATH="/usr/bin/java"
DAEMON_OPTS="-jar /opt/ubooquity/Ubooquity.jar -webadmin -headless -port 2022"
DAEMON_PWD="/opt/ubooquity"
DAEMON_DESC=$(get_lsb_header_val $0 "Short-Description")
DAEMON_PID="/var/run/${DAEMON_NAME}.pid"
DAEMON_NICE=0
DAEMON_LOG='/var/log/cherrymusic'
to
export UBOOQUITY_HOME=/opt/ubooquity
DAEMON_NAME="Ubooquity"
DAEMON_USER=root
DAEMON_PATH="/usr/bin/java"
DAEMON_OPTS="-jar /opt/ubooquity/Ubooquity.jar --admintport 2022 --remoteadmin --headless --libraryport 3456"
DAEMON_PWD="/opt/ubooquity"
DAEMON_DESC=$(get_lsb_header_val $0 "Short-Description")
DAEMON_PID="/var/run/${DAEMON_NAME}.pid"
DAEMON_NICE=0
DAEMON_LOG='/var/log/cherrymusic
I can get ubooquity to start while using Putty using
sudo java -jar /opt/ubooquity/Ubooquity.jar --adminport 2022 --remoteadmin --headless --libraryport 3456
But if I close Putty, it stops the server.
I'm pretty new to this.
Thanks!
Customer support service by UserEcho