.\" Man page generated from reStructuredText. . .TH "CALIBRE-SERVER" "1" "setembro 13, 2019" "3.48.0" "calibre" .SH NAME calibre-server \- calibre-server . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C calibre\-server [options] [path to library folder...] .ft P .fi .UNINDENT .UNINDENT .sp Start the calibre Content server. The calibre Content server exposes your calibre libraries over the internet. You can specify the path to the library folders as arguments to \fBcalibre\-server\fP\&. If you do not specify any paths, all the libraries that the main calibre program knows about will be used. .sp Sempre que passar argumentos para o \fBcalibre\-server\fP que contenham espaços ponha\-os entre aspas. Por exemplo: "/some path/with spaces" .SH [OPÇÕES] .INDENT 0.0 .TP .B \-\-access\-log Path to the access log file. This log contains information about clients connecting to the server and making requests. By default no access logging is done. .UNINDENT .INDENT 0.0 .TP .B \-\-ajax\-timeout Time (in seconds) to wait for a response from the server when making queries. .UNINDENT .INDENT 0.0 .TP .B \-\-auth\-mode Escolha o tipo de autenticação usado. Set the HTTP authentication mode used by the server. Set to \fB"\fPbasic\fB"\fP if you are putting this server behind an SSL proxy. Otherwise, leave it as \fB"\fPauto\fB"\fP, which will use \fB"\fPbasic\fB"\fP if SSL is configured otherwise it will use \fB"\fPdigest\fB"\fP\&. .UNINDENT .INDENT 0.0 .TP .B \-\-auto\-reload Automatically reload server when source code changes. Useful for development. You should also specify a small value for the shutdown timeout. .UNINDENT .INDENT 0.0 .TP .B \-\-ban\-after Número de erros de autenticação até ser banido. The number of login failures after which an IP address is banned .UNINDENT .INDENT 0.0 .TP .B \-\-ban\-for Banir endereços IP que apresentem erros de autenticação continuados. Temporarily bans access for IP addresses that have repeated login failures for the specified number of minutes. Useful to prevent attempts at guessing passwords. If set to zero, no banning is done. .UNINDENT .INDENT 0.0 .TP .B \-\-book\-list\-mode Escolha o modo de listagem padrão de livros. Set the default book list mode that will be used for new users. Individual users can override the default in their own settings. The default is to use a cover grid. .UNINDENT .INDENT 0.0 .TP .B \-\-compress\-min\-size Minimum size for which responses use data compression (in bytes). .UNINDENT .INDENT 0.0 .TP .B \-\-custom\-list\-template Path to a JSON file containing a template for the custom book list mode. The easiest way to create such a template file is to go to Preferences\-> Sharing over the net\-> Book list template in calibre, create the template and export it. .UNINDENT .INDENT 0.0 .TP .B \-\-daemonize Run process in background as a daemon (Linux only). .UNINDENT .INDENT 0.0 .TP .B \-\-displayed\-fields Restrict displayed user\-defined fields. Comma separated list of user\-defined metadata fields that will be displayed by the Content server in the /opds and /mobile views. If you specify this option, any fields not in this list will not be displayed. For example: my_rating,my_tags .UNINDENT .INDENT 0.0 .TP .B \-\-enable\-allow\-socket\-preallocation, \-\-disable\-allow\-socket\-preallocation Socket pre\-allocation, for example, with systemd socket activation. Por predefinição, a opção esta ativada. .UNINDENT .INDENT 0.0 .TP .B \-\-enable\-auth, \-\-disable\-auth Autenticação por senha para aceder ao servidor. Normally, the server is unrestricted, allowing anyone to access it. You can restrict access to predefined users with this option. Por predefinição, a opção esta desativada. .UNINDENT .INDENT 0.0 .TP .B \-\-enable\-fallback\-to\-detected\-interface, \-\-disable\-fallback\-to\-detected\-interface Voltar ao interface automaticamente detetado. If for some reason the server is unable to bind to the interface specified in the listen_on option, then it will try to detect an interface that connects to the outside world and bind to that. Por predefinição, a opção esta ativada. .UNINDENT .INDENT 0.0 .TP .B \-\-enable\-local\-write, \-\-disable\-local\-write Permitir que ligações locais não autenticadas realizem alterações. Normally, if you do not turn on authentication, the server operates in read\-only mode, so as to not allow anonymous users to make changes to your calibre libraries. This option allows anybody connecting from the same computer as the server is running on to make changes. This is useful if you want to run the server without authentication but still use calibredb to make changes to your calibre libraries. Note that turning on this option means any program running on the computer can make changes to your calibre libraries. Por predefinição, a opção esta desativada. .UNINDENT .INDENT 0.0 .TP .B \-\-enable\-log\-not\-found, \-\-disable\-log\-not\-found Log HTTP 404 (Not Found) requests. Normally, the server logs all HTTP requests for resources that are not found. This can generate a lot of log spam, if your server is targeted by bots. Use this option to turn it off. Por predefinição, a opção esta ativada. .UNINDENT .INDENT 0.0 .TP .B \-\-enable\-use\-bonjour, \-\-disable\-use\-bonjour Divulgar feed de OPDS através do BonJour. Advertise the OPDS feeds via the BonJour service, so that OPDS based reading apps can detect and connect to the server automatically. Por predefinição, a opção esta ativada. .UNINDENT .INDENT 0.0 .TP .B \-\-enable\-use\-sendfile, \-\-disable\-use\-sendfile Zero copy file transfers for increased performance. This will use zero\-copy in\-kernel transfers when sending files over the network, increasing performance. However, it can cause corrupted file transfers on some broken filesystems. If you experience corrupted file transfers, turn it off. Por predefinição, a opção esta ativada. .UNINDENT .INDENT 0.0 .TP .B \-\-help, \-h mostrar esta mensagem de ajuda e sair .UNINDENT .INDENT 0.0 .TP .B \-\-ignored\-fields Ignored user\-defined metadata fields. Comma separated list of user\-defined metadata fields that will not be displayed by the Content server in the /opds and /mobile views. For example: my_rating,my_tags .UNINDENT .INDENT 0.0 .TP .B \-\-listen\-on The interface on which to listen for connections. The default is to listen on all available interfaces. You can change this to, for example, \fB"\fP127.0.0.1\fB"\fP to only listen for connections from the local machine, or to \fB"\fP::\fB"\fP to listen to all incoming IPv6 and IPv4 connections. .UNINDENT .INDENT 0.0 .TP .B \-\-log Path to log file for server log. This log contains server information and errors, not access logs. By default it is written to stdout. .UNINDENT .INDENT 0.0 .TP .B \-\-manage\-users Manage the database of users allowed to connect to this server. See also the \fI\%\-\-userdb\fP option. .UNINDENT .INDENT 0.0 .TP .B \-\-max\-header\-line\-size Max. size of single HTTP header (in KB). .UNINDENT .INDENT 0.0 .TP .B \-\-max\-job\-time Maximum time for worker processes. Maximum amount of time worker processes are allowed to run (in minutes). Set to zero for no limit. .UNINDENT .INDENT 0.0 .TP .B \-\-max\-jobs Número máximo de processos de trabalho. Worker processes are launched as needed and used for large jobs such as preparing a book for viewing, adding books, converting, etc. Normally, the max. number of such processes is based on the number of CPU cores. You can control it by this setting. .UNINDENT .INDENT 0.0 .TP .B \-\-max\-log\-size Tamanho máx. do ficheiro log. (em MB). The maximum size of log files, generated by the server. When the log becomes larger than this size, it is automatically rotated. Set to zero to disable log rotation. .UNINDENT .INDENT 0.0 .TP .B \-\-max\-opds\-items Número máximo de livros no feed de OPDS. Número máximo de livros que o servidor devolve por cada feed de aquisição de OPDS. .UNINDENT .INDENT 0.0 .TP .B \-\-max\-opds\-ungrouped\-items Número máximo de itens desagrupados nos feeds de OPDS. Group items in categories such as author/tags by first letter when there are more than this number of items. Set to zero to disable. .UNINDENT .INDENT 0.0 .TP .B \-\-max\-request\-body\-size Max. allowed size for files uploaded to the server (in MB). .UNINDENT .INDENT 0.0 .TP .B \-\-num\-per\-page Número de livros a mostrar numa só pagina. O número de livros a mostrar numa só pagina no navegador. .UNINDENT .INDENT 0.0 .TP .B \-\-pidfile Escreva o processo com o PID para o ficheiro especificado .UNINDENT .INDENT 0.0 .TP .B \-\-port The port on which to listen for connections. .UNINDENT .INDENT 0.0 .TP .B \-\-search\-the\-net\-urls Path to a JSON file containing URLs for the \fB"\fPSearch the internet\fB"\fP feature. The easiest way to create such a file is to go to Preferences\-> Sharing over the net\->Search the internet in calibre, create the URLs and export them. .UNINDENT .INDENT 0.0 .TP .B \-\-shutdown\-timeout Total time in seconds to wait for clean shutdown. .UNINDENT .INDENT 0.0 .TP .B \-\-ssl\-certfile Path to the SSL certificate file. .UNINDENT .INDENT 0.0 .TP .B \-\-ssl\-keyfile Path to the SSL private key file. .UNINDENT .INDENT 0.0 .TP .B \-\-timeout Time (in seconds) after which an idle connection is closed. .UNINDENT .INDENT 0.0 .TP .B \-\-url\-prefix Um prefixo a anteceder todos os URL. Useful if you wish to run this server behind a reverse proxy. For example use, /calibre as the URL prefix. .UNINDENT .INDENT 0.0 .TP .B \-\-userdb Path to the user database to use for authentication. The database is a SQLite file. To create it use \fI\%\-\-manage\-users\fP\&. You can read more about managing users at: \fI\%https://manual.calibre\-ebook.com/server.html#managing\-user\-accounts\-from\-the\-command\-line\-only\fP .UNINDENT .INDENT 0.0 .TP .B \-\-version mostrar o número da versão do programa e sair .UNINDENT .INDENT 0.0 .TP .B \-\-worker\-count Número máximo de processos de trabalho para executar pedidos. .UNINDENT .SH AUTHOR Kovid Goyal .SH COPYRIGHT Kovid Goyal .\" Generated by docutils manpage writer. .