-Merge branch 'master' of ssh://gnunet.org/gnunet into gsoc2018/rest_api
[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 RUN_PER_USER=YES is set)
29 # Note that the 'gnunet'/system user must have $TMPDIR/$TMP set to
30 # exactly the same values as 'normal' users, otherwise this will fail.
31 # If $TMPDIR or $TMP are set to different directories for different
32 # users, this option should be changed to point to the same directory
33 # for all users (i.e. by simply using "/tmp/gnunet-system-runtime/").
34 GNUNET_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/gnunet-system-runtime/
35
36 # Runtime data for per-user services
37 GNUNET_USER_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/gnunet-${USERHOME:-${USER:-user}}-runtime/
38
39 # Directory to use for temporary files.
40 GNUNET_TMP = ${TMPDIR:-${TMP:-/tmp}}/gnunet/
41
42
43 # Override for GNUNET_HOME used by test cases.
44 # GNUNET_TEST_HOME = /tmp/foo/bar
45
46 # DEFAULTCONFIG = /etc/gnunet.conf
47 # If 'DEFAULTCONFIG' is not defined, the current
48 # configuration file is assumed to be the default,
49 # which is what we want by default...
50
51
52 [PEER]
53 # Where do we store our private key?
54 PRIVATE_KEY = $GNUNET_DATA_HOME/private_key.ecc
55
56 # What kind of system are we on? Choices are
57 # INFRASTRUCTURE (always-on, grid, data center)
58 # DESKTOP (sometimes-on, grid, office)
59 # NOTEBOOK (sometimes-on, mobile, often limited network,
60 #           if on-battery than large battery)
61 # MOBILE (sometimes-on, mobile, always limited network,
62 #           always battery limited)
63 # UNKNOWN (not configured/specified/known)
64 SYSTEM_TYPE = UNKNOWN
65
66 [TESTING]
67 SPEEDUP_INTERVAL = 0 ms
68 SPEEDUP_DELTA = 0 ms
69 # This following option is applicable to LINUX.  Enabling this option causes all
70 # UNIX domain sockets to be opened as abstract sockets.  Note that the
71 # filesystem level restrictions no longer apply for abstract sockets.  An
72 # end-user should not modify this option.
73 USE_ABSTRACT_SOCKETS = NO