No longer use a pth_rwlock_t but a pth_mutex_t.
[pwmd.git] / doc / config.example
blob86803791ed611c19aaa2adbd48c7280484a7185c
2 # Example PWMD configuration file. Edit and save to ~/.pwmd/config or
3 # specify with the -f command line option.
5 [default]
7 # Location of the listening socket.
8 #socket_path=~/.pwmd/socket
10 # Socket permissions. This will override any umask setting.
11 #socket_perms=0600
13 # Where files will be read and stored.
14 #data_directory=~/.pwmd/data
16 # Log file location.
17 #log_path=~/.pwmd/log
19 # Set to true to enable logging to log_path.
20 #enable_logging=false
22 # Set to true to enable logging to syslog.
23 #syslog=false
25 # File and key cache size. Must be in multiples of your systems PAGE_SIZE. The
26 # default below on a x86 Linux system is one page.
27 #cache_size=4096
29 # Set to false to call mlockall(2) after a client connects. Uses alot more
30 # memory but is also more secure. Most will probably find it overkill since
31 # the contents of all memory is cleared before being freed (see KnownBugs
32 # though). Note that this doesn't affect the file cache which is always stored
33 # in RAM (if possible).
34 #disable_mlockall=true
36 # Disable the LIST and DUMP commands. When "true" and a client sends these
37 # commands an error GPG_ERR_NOT_IMPLEMENTED will be returned.
38 #disable_list_and_dump=false
40 # Number of encryption iterations. This is the number of times the data will
41 # be encrypted. Setting this to a high value (10000) will drastically slow
42 # down dictionary attacks.
43 #iterations=0
45 # After the set number of encryption or decryption iterations, a status
46 # message with the keyword PROGRESS is sent. Setting to 0 disables.
47 #iteration_progress=0
49 # A list of filenames separated by commas to add to the file cache upon
50 # startup. You will be prompted for the key for each file if required. The
51 # files are looked for in data_directory.
52 #cache_push=somefile, anotherfile
54 # The number of seconds to keep a file in the cache. If -1, the file will be
55 # kept forever. If 0, then every OPEN and SAVE command for a file will require
56 # a key.
57 #cache_timeout=-1
59 # The default compression level for data files from 1 to 9, 1 being the
60 # fastest but least compression and 9 being the slowest but best compression.
61 # To disable compression entirely, set to 0.
62 #compression_level=6
64 # The input and output buffer size when compressing and decompressing. This
65 # affects how often the COMPRESS and DECOMPRESS status messages are sent and
66 # also affects compression quality. Set to a higher value for larger files.
67 #zlib_bufsize=4096
69 # The maximum recursion depth when resolving elements that contain a "target"
70 # attribute. When this value is exceeded an error will be returned.
71 #recursion_depth=20
73 # END GLOBAL SETTINGS
75 # File specific settings are allowed by placing the filename in braces.
76 #[somefile]
77 #cache_timeout=300
78 #iterations=15000
79 #key=password
80 #key_file=/path/to/file.key
81 #compression_level=0