/usr/share/doc/dictd/examples/dictd4.conf is in dictd 1.12.1+dfsg-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | global {
site /etc/dictd_site.txt
port 2628
delay 600
depth 10
limit 100
timestamp 10
log_option "found"
log_option "notfound"
log_option "stats"
log_option "client"
debug_option "init"
# add_strategy "phonetic" "Phonetic search"
# add_strategy "reverse" "Full text search in definitions"
listen_to 127.0.0.1
# syslog
# syslog_facility daemon
log_file "/var/log/dictd.log"
# fast_start
# without_mmap
}
access {
allow *
}
database web1913 {
data "/usr/lib/dict/web1913.dict.dz"
index "/usr/lib/dict/web1913.index"
access {
allow *
}
}
database wn {
data "/usr/lib/dict/wn.dict.dz"
index "/usr/lib/dict/wn.index"
access {
allow *
}
}
#user faith secret
#user bam foo
|