Skip to content

Command Line Interface

Ozzie Isaacs edited this page Jul 27, 2019 · 14 revisions

Command line options

Starting the script with -h lists all supported command line options.
Currently supported are 4 options, which are useful for running multiple instances of Calibre-Web.

-p path allows to specify the location of the settings database
-g path allows to specify the location of the google-drive database
-c path allows to specify the location of SSL certfile, works only in combination with keyfile
-k path allows to specify the location of SSL keyfile, works only in combination with certfile

Environmental variables

Calibre-Web supports the following Environmental variables.

CALIBRE_DBPATH allows to set the home directory for calibre-web's settings files (app.db. calibre-web.log, gdrive.db)
CALIBRE_PORT allows to set the default listening port during creation of the settings database. Afterwards the port which is configured in the UI, is used.