![]() |
#1 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Feb 2012
Device: kindle 3
|
calibre server any way to have as daemon
I run FreeBSD and find the calibre web server very handy
how ever how can one run the server stand alone ( ie as a daemon ) with out starting the GUI in a desktop environment I have only been using calibre for a few hrs so forgive me if I am missing something I must admit I have not done to much googling yet |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,353
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Feb 2012
Device: kindle 3
|
Thank you very much for that
just what I needed to read :P now my only Gripe is it looks like kindles will only work on port 80 ... assuming Amazon is blocking all other ports on the 3G Network Thankfully I don't use port 80 for anything else calibre-server -h Usage: calibre-server [options] Start the calibre content server. The calibre content server exposes your calibre library over the internet. The default interface allows you to browse you calibre library by categories. You can also access an interface optimized for mobile browsers at /mobile and an OPDS based interface for use with reading applications at /opds. The OPDS interface is advertised via BonJour automatically. Whenever you pass arguments to calibre-server that have spaces in them, enclose the arguments in quotation marks. Options: --version show program's version number and exit -h, --help show this help message and exit -p PORT, --port=PORT The port on which to listen. Default is 8080 -t TIMEOUT, --timeout=TIMEOUT The server timeout in seconds. Default is 120 --thread-pool=THREAD_POOL The max number of worker threads to use. Default is 30 --password=PASSWORD Set a password to restrict access. By default access is unrestricted. --username=USERNAME Username for access. By default, it is: 'calibre' --develop Development mode. Server automatically restarts on file changes and serves code files (html, css, js) from the file system instead of calibre's resource system. --max-cover=MAX_COVER The maximum size for displayed covers. Default is '600x800'. --max-opds-items=MAX_OPDS_ITEMS The maximum number of matches to return per OPDS query. This affects Stanza, WordPlayer, etc. integration. --max-opds-ungrouped-items=MAX_OPDS_UNGROUPED_ITEMS Group items in categories such as author/tags by first letter when there are more than this number of items. Default: 100. Set to a large number to disable grouping. --url-prefix=URL_PREFIX Prefix to prepend to all URLs. Useful for reverseproxying to this server from Apache/nginx/etc. --with-library=WITH_LIBRARY Path to the library folder to serve with the content server --pidfile=PIDFILE Write process PID to the specified file --daemonize Run process in background as a daemon. No effect on windows. --restriction=RESTRICTION Specifies a restriction to be used for this invocation. This option overrides any per-library settings specified in the GUI --auto-reload Auto reload server when source code changes. May not work in all environments. Last edited by MasterCATZ; 02-11-2012 at 08:39 AM. |
![]() |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,919
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
use your router to port forward/map 80 to what you want.
BTW the wifi K4 has no trouble with 8080, 8081 (2 servers: Mine, Wife's) |
![]() |
![]() |
![]() |
#5 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Feb 2012
Device: kindle 3
|
Quote:
thanks for your reply Thats what I did but I would rather Not have it on open to public port 80 I have it on 8686 and most others are either 81 ~ 89 or 8081 ~ 8089 and a few other simple combinations I love my webui's :P I am using Gen 3 wifi 3G keyboard kindle it may not actually be on the kindle side of things it might just be the ISP amazon has chosen to use here for the 3G in AU blocking out the other ports this missis ran of with the kindle when she left last week .. so I am hoping to prey it outta her hands this weekend when she comes back for further testing |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Aug 2011
Location: Comox, BC
Device: Galaxy Tab 2
|
I have my content server running nicely daemonized on my Linux Debian Squeeze box with the library sitting on an NDAS network drive, but... and I know I sound like a newbie, which I mostly am..... I really don't understand what this line in the manual means with reference to the --develop option - "serves code files (html, css, js) from the file system instead of calibre's resource system." Any help?
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Feb 2012
Device: kindle 3
|
as someone else has posted an daemon related question
my new ? would be is their a way for the calibre server to automatically convert books via the web gui ? |
![]() |
![]() |
![]() |
#8 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 125
Karma: 769546
Join Date: May 2012
Device: none
|
Grab one of those cheap $100 netbooks and throw Linux on it with the server software. The purpose of this would only be to avoid being an "open" network. You can, obviously run the netbook only at the times when you need to connect, and you can take it with you easily. At home, you can fiddle with most routers and create a routing table that only allows that specific MAC address to connect to any given port, without knowing the router brand and model I cannot say where you will find that, but look for things like "static" routes and maybe a NAT table, search around and you can find it.
|
![]() |
![]() |
![]() |
#9 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 695
Karma: 822675
Join Date: May 2010
Device: Kobo Aura, Nokia Lumia 920 (Freda)
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Content Server and Windows Home Server 2011 | HughMcC | Calibre | 8 | 10-01-2014 07:26 AM |
Calibre-server port not open issue on Fedora server | stueyboy | Devices | 0 | 08-17-2011 04:57 PM |
Possible or not? Calibre daemon on linux sending email with news | Razzia | Calibre | 1 | 04-01-2011 12:23 PM |
iLiad small ftp daemon (betaftpd) | TiGEr.zZ | iRex Developer's Corner | 1 | 04-07-2009 09:11 AM |
Background/scheduled downloader daemon | dumky | Kindle Developer's Corner | 4 | 01-27-2008 09:28 PM |