fix for starting problems of SUID binaries
[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 # Location of binaries requiring setuid or setgid flags, e.g. gnunet-helper-vpn.
52 # By default it is assumed to be in the libexec directory, but on some systems
53 # like NixOS setuid / setgid is only possible through a wrapper in a specific
54 # location.
55 # SUID_BINARY_PATH =
56
57
58 [PEER]
59 # Where do we store our private key?
60 PRIVATE_KEY = $GNUNET_DATA_HOME/private_key.ecc
61
62 # What kind of system are we on? Choices are
63 # INFRASTRUCTURE (always-on, grid, data center)
64 # DESKTOP (sometimes-on, grid, office)
65 # NOTEBOOK (sometimes-on, mobile, often limited network,
66 #           if on-battery than large battery)
67 # MOBILE (sometimes-on, mobile, always limited network,
68 #           always battery limited)
69 # UNKNOWN (not configured/specified/known)
70 SYSTEM_TYPE = UNKNOWN
71
72 [TESTING]
73 SPEEDUP_INTERVAL = 0 ms
74 SPEEDUP_DELTA = 0 ms
75 # This following option is applicable to LINUX.  Enabling this option causes all
76 # UNIX domain sockets to be opened as abstract sockets.  Note that the
77 # filesystem level restrictions no longer apply for abstract sockets.  An
78 # end-user should not modify this option.
79 USE_ABSTRACT_SOCKETS = NO