View Single Post
Old 04-10-2020, 11:35 AM   #3
AllowPing
Junior Member
AllowPing began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2020
Device: none
My use case is 1 library only. In this way, am I correct in assuming it should work?

I had specified portable version above (/opt/calibre/resources/calibre-portable.sh). I was testing running calibre-portable.sh in a systemd service, though I may have not been using it as intended. The script is introduced by saying it supports Linux - this is a copy/paste from that file:
Code:
#                       Calibre-Portable.sh
#                       ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬
#
# Shell script File to start a Calibre configuration on Linux
# giving explicit control of the location of:
#  - Calibre Program Files
#  - Calibre Library Files
#  - Calibre Config Files
#  - Calibre Metadata database
...
The goal is to use a tested/supported/documented approach to having the db in a different location than the library. I've based my setup on the below:

https://manual.calibre-ebook.com/cus...ment-variables
Quote:
CALIBRE_OVERRIDE_DATABASE_PATH - allows you to specify the full path to metadata.db. Using this variable you can have metadata.db be in a location other than the library folder. Useful if your library folder is on a networked drive that does not support file locking.
AllowPing is offline   Reply With Quote