View Single Post
Old 12-02-2012, 03:36 PM   #6
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 4,702
Karma: 800144
Join Date: Jan 2010
Location: France
Device: Many android devices
Quote:
Originally Posted by hakan42 View Post
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"
I use
Code:
check file metadata.db with path ..../metadata.db
  if changed timestamp
     then exec "/etc/init.d/calibre-server restart"
where ..../metadata.db is the full path to the library in the dropbox directory.
chaley is offline   Reply With Quote