aboutsummaryrefslogtreecommitdiff
path: root/src/lib/util/util.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/util.conf')
-rw-r--r--src/lib/util/util.conf79
1 files changed, 79 insertions, 0 deletions
diff --git a/src/lib/util/util.conf b/src/lib/util/util.conf
new file mode 100644
index 000000000..4f0860a49
--- /dev/null
+++ b/src/lib/util/util.conf
@@ -0,0 +1,79 @@
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#
11GNUNET_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# Persistent data storage
18GNUNET_DATA_HOME = ${XDG_DATA_HOME:-$GNUNET_HOME/.local/share}/gnunet/
19
20# Configuration files
21GNUNET_CONFIG_HOME = ${XDG_CONFIG_HOME:-$GNUNET_HOME/.config}/gnunet/
22
23# Cached data, no big deal if lost
24GNUNET_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/").
34GNUNET_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/gnunet-system-runtime/
35
36# Runtime data for per-user services
37GNUNET_USER_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/gnunet-${USERHOME:-${USER:-user}}-runtime/
38
39# Directory to use for temporary files.
40GNUNET_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?
60PRIVATE_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)
70SYSTEM_TYPE = UNKNOWN
71
72[TESTING]
73SPEEDUP_INTERVAL = 0 ms
74SPEEDUP_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.
79USE_ABSTRACT_SOCKETS = NO