updated on Sun Jan 22 08:00:21 UTC 2012
[aur-mirror.git] / unscd / unscd.conf
blob771fea0bb781e16329190c9a37d09e5dcdd917e1
1 # This file is currently taken verbatim from the version distributed
2 # with GNU glibc's nscd with unused configurations removed
3
4 # /etc/unscd.conf
6 # An example Name Service Cache config file.  This file is needed by nscd.
8 # Legal entries are:
10 #       logfile                 <file>
11 #       debug-level             <level>
12 #       threads                 <initial #threads to use>
13 #       max-threads             <maximum #threads to use>
14 #       server-user             <user to run server as instead of root>
15 #               server-user is ignored if nscd is started with -S parameters
16 #       stat-user               (ignored; any user can stat)
17 #       reload-count            (ignored; unscd should never crash)
18 #       paranoia                (ignored)
19 #       restart-interval        (ignored; unscd should never crash)x
21 #       enable-cache            <service> <yes|no>
22 #       positive-time-to-live   <service> <time in seconds>
23 #       negative-time-to-live   <service> <time in seconds>
24 #       suggested-size          <service> <prime number>
25 #       check-files             <service> <yes|no>
26 #       persistent              <service> (ignored)
27 #       shared                  <service> (ignored)
28 #       auto-propagate          <service> (ignored)
30 # Currently supported cache names (services): passwd, group, hosts
34 #       logfile                 /var/log/unscd.log
35 #       threads                 4
36 #       max-threads             32
37 #       server-user             nobody
38 #       stat-user               somebody
39         debug-level             0
40 #       reload-count            5
41         paranoia                no
42 #       restart-interval        3600
44         enable-cache            passwd          yes
45         positive-time-to-live   passwd          600
46         negative-time-to-live   passwd          20
47         suggested-size          passwd          211
48         check-files             passwd          yes
49         persistent              passwd          yes
50         shared                  passwd          yes
51         auto-propagate          passwd          yes
53         enable-cache            group           yes
54         positive-time-to-live   group           3600
55         negative-time-to-live   group           60
56         suggested-size          group           211
57         check-files             group           yes
58         persistent              group           yes
59         shared                  group           yes
60         auto-propagate          group           yes
62 # hosts caching is broken with gethostby* calls, hence is now disabled per default.
63         enable-cache            hosts           no
64         positive-time-to-live   hosts           3600
65         negative-time-to-live   hosts           20
66         suggested-size          hosts           211
67         check-files             hosts           yes
68         persistent              hosts           yes
69         shared                  hosts           yes
71 # unscd does not support services caching