
Set GUAC_USER and GUAC_PASS as described in the readme accordingly if you want to use it.

You may use linux server's docker container, see this - I also set up a new container with this image, which is actively maintained.

While true do Zeit=$(stat -c%Y $Datei) # file change date echo " Watching $Datei $Zeit" rm -f $PIDDat # see /usr/bin/calibre-server -pidfile $PIDDat -port 8081 -disable-log-not-found -log $LogDat -max-log-size 2 /ebooks/eBooks & until ] do # wait sleep 5s done echo " Started, PID $(cat $PIDDat)" until ] do # Wait for change sleep 60s done echo " Change detected, stopping process" pkill -15 -F $PIDDat sleep 5s until ] do echo " Waiting for process to end" sleep 5s done Echo calibre-server startedĭatei=/ebooks/eBooks/metadata.db # DB-File to watch for changes
