View Single Post
Old 04-25-2016, 09:23 AM   #6
johnelle
Zealot
johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.
 
Posts: 119
Karma: 2137668
Join Date: Mar 2015
Location: Groton, MA
Device: Kindle app on Samsung Tab
Well I am kinda-debian / Ubuntu

I am using upstart instead which worked fine before I moved the .db

s
Code:
start on runlevel [2345]
stop on runlevel [^2345]

respawn

env USER='<user>'
env PASSWORD='<pass>'
env LIBRARY_PATH='/mnt/synnas/Books/Calibre'
env PORT='<myport>'

script
     exec /usr/bin/calibre-server --with-library $LIBRARY_PATH --auto-reload \    --port $PORT --username $USER --password $PASWORD
The database override is defined in /etc/environment
Code:
CALIBRE_OVERRIDE_DATABASE_PATH="/media/cdb/metadata.db"
which is Win10 shared folder on a desktop shared with at least one laptop and working.

I don't understand why you would copy the .db file every time you boot(?)
johnelle is offline   Reply With Quote