08-03-2009, 05:35 PM | #1 |
Groupie
Posts: 161
Karma: 608
Join Date: Aug 2008
Location: Plano, TX
Device: Sony PRS-505 + B&N Nook + Motion LE1700 + Motorola Xoom Wifi
|
multiple calibre-servers?
Does anyone know if you can run multiple calibre-server instances on one system to serve multiple libraries?
In other words, can you point calibre-server at a specific library like you can some of the other tools? eg: calibre has --with-library=WITH_LIBRARY calibredb list has --library-path=LIBRARY_PATH troymc |
08-03-2009, 06:21 PM | #2 |
creator of calibre
Posts: 44,336
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
With a bit of scripting you probably could. In the script change the path to the calibre library in global.py, launch the server instance and change it back and launch the next server istance and so on
|
Advert | |
|
08-03-2009, 08:16 PM | #3 |
Groupie
Posts: 161
Karma: 608
Join Date: Aug 2008
Location: Plano, TX
Device: Sony PRS-505 + B&N Nook + Motion LE1700 + Motorola Xoom Wifi
|
Thanks! That appears to work fine. I now have 6 libraries up & running and proxied thru a secure central apache instance.
Is there a "correct" or "preferred" way to shut down calibre-server? Is a 'kill -HUP' on the loader PID safe? And am I correct in thinking that I should NOT be running calibre & calibre-server against the same library simultaneously? troymc |
08-03-2009, 08:42 PM | #4 |
creator of calibre
Posts: 44,336
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You should only ever run one write process against a given library. Since the server doesn't do writes, you should be fine, however changes you make with the GUI wont show till a server restart.
-HUP is fine to kill the server. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding ODPS client to calibre (Bug #1665, Download from Bookshelf/Stanza servers) | hakan42 | Calibre | 11 | 12-05-2010 12:19 PM |
Calibre with Multiple Devices? | Chrysanthemum | Calibre | 5 | 07-24-2010 03:15 AM |
Calibre 0.7 and Multiple devices | itimpi | Calibre | 2 | 06-05-2010 04:45 AM |
Multiple version of Calibre? | John F | Calibre | 2 | 05-07-2010 11:02 AM |
Calibre on multiple PC's? | chaznsc | Calibre | 12 | 10-03-2009 03:52 PM |