-trying to fix #3202
[oweals/gnunet.git] / src / util / util.conf
1 [PATHS]
2 # The PATHS section is special, as filenames including $-expression are
3 # expanded using the values from PATHS or the system environment (PATHS
4 # is checked first).  GNUnet also supports expanding $-expressions using
5 # defaults with the syntax "${VAR:-default}".  Here, "default" can again
6 # be a $-expression.
7 #
8 # We usually want $HOME for $GNUNET_HOME, but we allow testcases to
9 # easily override this by setting $GNUNET_TEST_HOME.
10 #
11 GNUNET_HOME = ${GNUNET_TEST_HOME:-${HOME:-${USERPROFILE}}}
12
13 # see XDG Base Directory Specification at
14 # http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
15 # for how these should be used.
16
17 # Persistant data storage
18 GNUNET_DATA_HOME = ${XDG_DATA_HOME:-$GNUNET_HOME/.local/share}/gnunet/
19
20 # Configuration files
21 GNUNET_CONFIG_HOME = ${XDG_CONFIG_HOME:-$GNUNET_HOME/.config}/gnunet/
22
23 # Cached data, no big deal if lost
24 GNUNET_CACHE_HOME = ${XDG_CACHE_HOME:-$GNUNET_HOME/.cache}/gnunet/
25
26 # Runtime data (i.e UNIX domain sockets, locks, always lost on system boot)
27 # This is the variable for system-wide services; use GNUNET_USER_RUNTIME_DIR
28 # for per-user services (where USER_SERVICE=YES is set)
29 GNUNET_RUNTIME_DIR = ${XDG_RUNTIME_DIR:-${TMPDIR:-${TMP:-/tmp}}}/gnunet-system-runtime/
30
31 # Runtime data for per-user services
32 GNUNET_USER_RUNTIME_DIR = ${XDG_RUNTIME_DIR:-${TMPDIR:-${TMP:-/tmp}}}/gnunet-${USERHOME:-${USER:-user}}-runtime/
33
34
35 # Legacy option...
36 # GNUNET_TEST_HOME = ~/.gnunet/
37 # GNUNET_TEST_HOME = /var/lib/gnunet/
38
39 # DEFAULTCONFIG = /etc/gnunet.conf
40 # If 'DEFAULTCONFIG' is not defined, the current
41 # configuration file is assumed to be the default,
42 # which is what we want by default...
43
44
45 [PEER]
46 PRIVATE_KEY = $GNUNET_DATA_HOME/private_key.ecc
47
48
49 [TESTING]
50 SPEEDUP_INTERVAL = 0 ms
51 SPEEDUP_DELTA = 0 ms