File: example.conf

package info (click to toggle)
dictd 1.10.2-3.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,964 kB
  • ctags: 3,321
  • sloc: ansic: 29,082; sh: 4,646; makefile: 1,008; yacc: 436; perl: 410; cpp: 275; lex: 243
file content (50 lines) | stat: -rw-r--r-- 860 bytes parent folder | download
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
50
global {
   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"
   locale   ru_RU.UTF-8

   add_strategy     "phonetic" "Phonetic search"
   add_strategy     "reverse"  "Full text search in definitions"

   listen_to127.0.0.1
#   syslog
#   syslog_facility daemon
   log_file "/var/log/dictd.log"
#   fast_start
#   without_mmap
}

site example.site

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