Quote:
Originally Posted by chaley
To get around this I use monit to monitor the timestamp on metadata.db. If it changes, then monit restarts the calibre server (init.d/calibre-server). The calibre init.d script stops calibre, copies metadata.db to somewhere not in dropbox-land, sets $CALIBRE_OVERRIDE_DATABASE_PATH to that file, and then restarts calibre.
|
Do you mind sharing your monit configuration for restarting the server? I encountered this piece of software for the first time and have a slightly hard time configuring it correctly
The following does not work correctly for me (yet):
Code:
check file metadata.db with path /home/calibre/Dropbox/Calibre/metadata.db
if timestamp > 5 minutes
then exec "/etc/init.d/calibre-server restart"