X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=onak.ini.in;h=465b4e5362a592843fe6a0f5592ba00b1578bf03;hb=a04a68c405b6927a6b4fdf9682f697847036ecf7;hp=12a8701ef05c0397696440cc10715ebcee30e583;hpb=b49205ffcd195319303e0dd3a23aacda7a7c12ce;p=onak.git diff --git a/onak.ini.in b/onak.ini.in index 12a8701..465b4e5 100644 --- a/onak.ini.in +++ b/onak.ini.in @@ -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 + +[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