/* A sample configuration for GNU dicod */

capability (mime,xversion);
timing yes;
access-log-file "/var/log/dictd-access_log";
access-log-format "%h %l %u %t \"%r\" %>s %b \"\" \"%C\"";

load-module dict {
	command "dictorg dbdir=/usr/local/share/dict";
}

load-module guile {
	command "guile debug";
}

load-module python {
	command "python";
}

database {
	name "devdict";
	handler "dict database=devils";
}

database {
	name "plnum";
	handler "guile"
		" init-script=/usr/local/share/dict/example.scm"
		" init-fun=example-init"
		" example.db";
}

database {
	name "cznum";
	handler "python "
		"load-path=/usr/local/share/dict "
		"init-script=example "
		"/usr/local/share/dict/example.text";
}

listen (localhost:dict, "/var/tmp/dict.sock");
max-children 10;
inactivity-timeout 5;

log-tag "Dico dictd";

server-info <<EOT
This is a test Dico server.
EOT;
