aboutsummaryrefslogtreecommitdiff
path: root/src/statistics
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-09 10:30:21 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-09 10:30:21 +0000
commit7b29d40b75fd60ce5e0b86694499627dc9c63022 (patch)
treeb33914ae90ad85884f34f44d7fc0483f85661cf5 /src/statistics
parentd0a9f269aa6575253b1c284d594a467e6fdeb7c7 (diff)
last XDG change: use GNUNET_RUNTIME_DIR instead of /tmp for UNIXPATHs by default
Diffstat (limited to 'src/statistics')
-rw-r--r--src/statistics/statistics.conf.in2
-rw-r--r--src/statistics/test_statistics_api_data.conf4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/statistics/statistics.conf.in b/src/statistics/statistics.conf.in
index 7ce0af99f0..c7d3037820 100644
--- a/src/statistics/statistics.conf.in
+++ b/src/statistics/statistics.conf.in
@@ -5,7 +5,7 @@ HOSTNAME = localhost
BINARY = gnunet-service-statistics
ACCEPT_FROM = 127.0.0.1;
ACCEPT_FROM6 = ::1;
-UNIXPATH = /tmp/gnunet-service-statistics.sock
+UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-statistics.sock
UNIX_MATCH_UID = NO
UNIX_MATCH_GID = YES
DATABASE = $GNUNET_DATA_HOME/statistics.dat
diff --git a/src/statistics/test_statistics_api_data.conf b/src/statistics/test_statistics_api_data.conf
index c0ea8630d6..572f51d717 100644
--- a/src/statistics/test_statistics_api_data.conf
+++ b/src/statistics/test_statistics_api_data.conf
@@ -3,12 +3,12 @@ GNUNET_TEST_HOME = /tmp/test-gnunet-statistics/
[statistics]
PORT = 22353
-UNIXPATH = /tmp/test-statistics-service-statistics.unix
+UNIXPATH = $GNUNET_RUNTIME_DIR/test-statistics-service-statistics.unix
[arm]
PORT = 22354
DEFAULTSERVICES =
-UNIXPATH = /tmp/test-statistics-service-arm.unix
+UNIXPATH = $GNUNET_RUNTIME_DIR/test-statistics-service-arm.unix
[fs]
AUTOSTART = NO