Quote:
Originally Posted by itimpi
Although the content server mounts the database with read-write permissions, I have a feeling that it never actually writes to the database and the requirement for write access is an artefact of the database interfacing library in use. Maybe you will be able to see for certain with the approach you are using?
|
You are correct, I don't see a copy of the database file in the temp folder. So I guess that deleting the temp folder might not be strictly necessary, but I still prefer to do it.
I'm working on a script that will wrap all this functionality into a service so I could simply do "sudo service calibre-ro-server start/stop/restart" and have it do all the necessary work. Then I might simply add a cronjob to restart the service (which will clear the temp folder) at 3am or something.
I will post it here once I'm done, if anyone's interested.