X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=onak.ini.in;h=4dbf8305d516cf73fbf7a7447ac02efa96148c56;hb=85187675424f3854869f1607afd8a1e84e536946;hp=12a8701ef05c0397696440cc10715ebcee30e583;hpb=d4aa4e6ee07db203ef2a456a2afb9be52da8067c;p=onak.git diff --git a/onak.ini.in b/onak.ini.in index 12a8701..4dbf830 100644 --- a/onak.ini.in +++ b/onak.ini.in @@ -3,13 +3,13 @@ ; [main] backend=defaultdb4 -backends_dir=@LIBDIR@/onak/backends -logfile=@STATEDIR@/log/onak.log +backends_dir=@CMAKE_INSTALL_FULL_LIBDIR@/onak/backends +logfile=@CMAKE_INSTALL_FULL_LOCALSTATEDIR@/log/onak.log ; Loglevel : 0 is highest debug, default is 3, nothing is 7+ loglevel=3 ; Should we use the keyd backend? use_keyd=false -sock_dir=@RUNDIR@ +sock_dir=@CMAKE_INSTALL_FULL_RUNSTATEDIR@ ; Maximum number of keys to return in a reply to an index, verbose index or ; get. Setting it to -1 will allow any size of reply. max_reply_keys=128 @@ -23,7 +23,7 @@ check_sighash=true ; Settings related to the email interface to onak. [mail] maintainer_email=PGP Key Server Administrator -mail_dir=@STATEDIR@/spool/onak +mail_dir=@CMAKE_INSTALL_FULL_LOCALSTATEDIR@/spool/onak ; Specify the envelope sender address as the -f argument to ; sendmail. This is the address which will receive any bounces. ; If you don't use sendmail, then change this to an equivalent command. @@ -47,5 +47,26 @@ this_site=pgp-public-keys@the.earth.li ; Database backend configurations below here [backend:defaultdb4] +; The default DB4 backend. Recommended. type=db4 -location=@STATEDIR@/lib/onak +location=@CMAKE_INSTALL_FULL_LOCALSTATEDIR@/lib/onak + +[backend:examplehkp] +; An example HKP backend; all operations will be done against the +; provided keyserver, with no local storage. +type=hkp +location=hkp://the.earth.li/ + +[backend:examplestacked] +; A stacked set of backends. All fetch operations will be tried against +; the provided list of backends, from left to right, until one succeeds. +; All store operations are against the first backend. +; If a fetch does not succeed against the first backend, but against a +; later one, then the returned keys are also stored in the first backend. +; This example configuration essentially produces a caching keyserver, +; with any key fetched from the HKP backend being stored in the DB4 +; backend. +; Note keys are not expired from the DB4 backend, so without any other +; update mechanism configured this will result in stale data eventually. +type=stacked +location=defaultdb4:examplehkp