aboutsummaryrefslogtreecommitdiff
path: root/src/util/util.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/util.conf')
-rw-r--r--src/util/util.conf31
1 files changed, 26 insertions, 5 deletions
diff --git a/src/util/util.conf b/src/util/util.conf
index ade7786ad..b7f9deb04 100644
--- a/src/util/util.conf
+++ b/src/util/util.conf
@@ -1,20 +1,41 @@
1[PATHS] 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#
2GNUNET_HOME = $HOME 8GNUNET_HOME = $HOME
3GNUNET_DATA_HOME = $GNUNET_HOME/.local/share/gnunet/
4GNUNET_CONFIG_HOME = $GNUNET_HOME/.config/gnunet/
5GNUNET_CACHE_HOME = $GNUNET_HOME/.cache/gnunet/
6GNUNET_RUNTIME_DIR = $GNUNET_HOME/.runtime/gnunet/
7 9
10# see XDG Base Directory Specification at
11# http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
12# for how these should be used.
8 13
14# Persistant data storage
15GNUNET_DATA_HOME = ${XDG_DATA_HOME:-$GNUNET_HOME/.local/share}/gnunet/
16
17# Configuration files
18GNUNET_CONFIG_HOME = ${XDG_CONFIG_HOME:-GNUNET_HOME/.config/}gnunet/
19
20# Cached data, no big deal if lost
21GNUNET_CACHE_HOME = ${XDG_CACHE_HOME:-$GNUNET_HOME/.cache/}gnunet/
22
23# Runtime data (i.e UNIX domain sockets, locks, always lost on system boot)
24GNUNET_RUNTIME_DIR = ${XDG_RUNTIME_DIR:-${TMPDIR:-${TMP:-/tmp}}}gnunet/
25
26# Legacy option...
9SERVICEHOME = ~/.gnunet/ 27SERVICEHOME = ~/.gnunet/
10# SERVICEHOME = /var/lib/gnunet/ 28# SERVICEHOME = /var/lib/gnunet/
29
11# DEFAULTCONFIG = /etc/gnunet.conf 30# DEFAULTCONFIG = /etc/gnunet.conf
12# If 'DEFAULTCONFIG' is not defined, the current 31# If 'DEFAULTCONFIG' is not defined, the current
13# configuration file is assumed to be the default, 32# configuration file is assumed to be the default,
14# which is what we want by default... 33# which is what we want by default...
15 34
35
16[PEER] 36[PEER]
17PRIVATE_KEY = $SERVICEHOME/private_key.ecc 37PRIVATE_KEY = $GNUNET_DATA_HOME/private_key.ecc
38
18 39
19[TESTING] 40[TESTING]
20SPEEDUP_INTERVAL = 0 ms 41SPEEDUP_INTERVAL = 0 ms