X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Futil%2Futil.conf;h=6b9c52d004d88351e4a5b921f469edec9e84a8ef;hb=ed28dd2141e77aa073d81089cb5a07e0a0fc013c;hp=1627b068aff947f7faf1caacbc5c7c873f490bb2;hpb=8a6d5d56ba09ddd8a8848bae490b84ef3ea2923d;p=oweals%2Fgnunet.git diff --git a/src/util/util.conf b/src/util/util.conf index 1627b068a..6b9c52d00 100644 --- a/src/util/util.conf +++ b/src/util/util.conf @@ -26,10 +26,15 @@ GNUNET_CACHE_HOME = ${XDG_CACHE_HOME:-$GNUNET_HOME/.cache}/gnunet/ # Runtime data (i.e UNIX domain sockets, locks, always lost on system boot) # This is the variable for system-wide services; use GNUNET_USER_RUNTIME_DIR # for per-user services (where USER_SERVICE=YES is set) -GNUNET_RUNTIME_DIR = ${XDG_RUNTIME_DIR:-${TMPDIR:-${TMP:-/tmp}}}/gnunet-system-runtime/ +# Note that the 'gnunet'/system user must have $TMPDIR/$TMP set to +# exactly the same values as 'normal' users, otherwise this will fail. +# If $TMPDIR or $TMP are set to different directories for different +# users, this option should be changed to point to the same directory +# for all users (i.e. by simply using "/tmp/gnunet-system-runtime/"). +GNUNET_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/gnunet-system-runtime/ # Runtime data for per-user services -GNUNET_USER_RUNTIME_DIR = ${XDG_RUNTIME_DIR:-${TMPDIR:-${TMP:-/tmp}}}/gnunet-${USERHOME:-${USER:-user}}-runtime/ +GNUNET_USER_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/gnunet-${USERHOME:-${USER:-user}}-runtime/ # Legacy option...