diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-09 10:26:23 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-09 10:26:23 +0000 |
commit | d0a9f269aa6575253b1c284d594a467e6fdeb7c7 (patch) | |
tree | 21cf2183b906bd550eff83616552097c977ad530 /src/util/util.conf | |
parent | d4baeee37d09e53b5f176398a1b4aaa0aa747883 (diff) | |
download | gnunet-d0a9f269aa6575253b1c284d594a467e6fdeb7c7.tar.gz gnunet-d0a9f269aa6575253b1c284d594a467e6fdeb7c7.zip |
more work towards XDG spec (#3000) -- config file location
Diffstat (limited to 'src/util/util.conf')
-rw-r--r-- | src/util/util.conf | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/util/util.conf b/src/util/util.conf index b7f9deb04..7a4d3c704 100644 --- a/src/util/util.conf +++ b/src/util/util.conf | |||
@@ -5,7 +5,10 @@ | |||
5 | # defaults with the syntax "${VAR:-default}". Here, "default" can again | 5 | # defaults with the syntax "${VAR:-default}". Here, "default" can again |
6 | # be a $-expression. | 6 | # be a $-expression. |
7 | # | 7 | # |
8 | GNUNET_HOME = $HOME | 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} | ||
9 | 12 | ||
10 | # see XDG Base Directory Specification at | 13 | # see XDG Base Directory Specification at |
11 | # http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html | 14 | # http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html |
@@ -24,8 +27,8 @@ GNUNET_CACHE_HOME = ${XDG_CACHE_HOME:-$GNUNET_HOME/.cache/}gnunet/ | |||
24 | GNUNET_RUNTIME_DIR = ${XDG_RUNTIME_DIR:-${TMPDIR:-${TMP:-/tmp}}}gnunet/ | 27 | GNUNET_RUNTIME_DIR = ${XDG_RUNTIME_DIR:-${TMPDIR:-${TMP:-/tmp}}}gnunet/ |
25 | 28 | ||
26 | # Legacy option... | 29 | # Legacy option... |
27 | SERVICEHOME = ~/.gnunet/ | 30 | GNUNET_TEST_HOME = ~/.gnunet/ |
28 | # SERVICEHOME = /var/lib/gnunet/ | 31 | # GNUNET_TEST_HOME = /var/lib/gnunet/ |
29 | 32 | ||
30 | # DEFAULTCONFIG = /etc/gnunet.conf | 33 | # DEFAULTCONFIG = /etc/gnunet.conf |
31 | # If 'DEFAULTCONFIG' is not defined, the current | 34 | # If 'DEFAULTCONFIG' is not defined, the current |