aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-12 08:40:04 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-12 08:40:04 +0000
commit56bfc1608f8cb90f13bd2263ce0f1bd14f77159e (patch)
treeb846669b5fdb75debeb0273dcbd073b7597f12cd /src
parent217821d5221b92b4f46d148abf1fea16c38767d0 (diff)
downloadgnunet-56bfc1608f8cb90f13bd2263ce0f1bd14f77159e.tar.gz
gnunet-56bfc1608f8cb90f13bd2263ce0f1bd14f77159e.zip
-trying to fix #3202
Diffstat (limited to 'src')
-rw-r--r--src/arm/arm.conf.in9
-rw-r--r--src/gns/gns.conf.in2
-rw-r--r--src/identity/identity.conf.in2
-rw-r--r--src/namestore/namestore.conf.in2
-rw-r--r--src/util/util.conf8
5 files changed, 18 insertions, 5 deletions
diff --git a/src/arm/arm.conf.in b/src/arm/arm.conf.in
index 830b51dc1..45c37b0d8 100644
--- a/src/arm/arm.conf.in
+++ b/src/arm/arm.conf.in
@@ -6,7 +6,8 @@ BINARY = gnunet-service-arm
6ACCEPT_FROM = 127.0.0.1; 6ACCEPT_FROM = 127.0.0.1;
7ACCEPT_FROM6 = ::1; 7ACCEPT_FROM6 = ::1;
8DEFAULTSERVICES = topology hostlist dht nse mesh fs 8DEFAULTSERVICES = topology hostlist dht nse mesh fs
9UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-arm.sock 9# Special case, uses user runtime dir even for per-system service.
10UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-arm.sock
10UNIX_MATCH_UID = YES 11UNIX_MATCH_UID = YES
11UNIX_MATCH_GID = YES 12UNIX_MATCH_GID = YES
12 13
@@ -33,6 +34,12 @@ GLOBAL_PREFIX = @MONKEYPREFIX@
33# ensures that personal data is stored under $HOME, which might 34# ensures that personal data is stored under $HOME, which might
34# be important in a multi-user system (or if $HOME is encrypted 35# be important in a multi-user system (or if $HOME is encrypted
35# and /var/ is not). 36# and /var/ is not).
37#
38# Note that if you have different ARM services for SYSTEM and USER,
39# and you are not on UNIX, you need to change the PORT option for the
40# USER ARM instances to some free port (counting down from 2085 should
41# be sane).
42#
36# USER_ONLY = YES 43# USER_ONLY = YES
37 44
38 45
diff --git a/src/gns/gns.conf.in b/src/gns/gns.conf.in
index e600871fc..25a6f3ab5 100644
--- a/src/gns/gns.conf.in
+++ b/src/gns/gns.conf.in
@@ -2,7 +2,7 @@
2AUTOSTART = @AUTOSTART@ 2AUTOSTART = @AUTOSTART@
3HOSTNAME = localhost 3HOSTNAME = localhost
4BINARY = gnunet-service-gns 4BINARY = gnunet-service-gns
5UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-gns.sock 5UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-gns.sock
6@UNIXONLY@PORT = 2102 6@UNIXONLY@PORT = 2102
7 7
8# Do we require users that want to access GNS to run this process 8# Do we require users that want to access GNS to run this process
diff --git a/src/identity/identity.conf.in b/src/identity/identity.conf.in
index 19efd4aa6..9d1bb1a66 100644
--- a/src/identity/identity.conf.in
+++ b/src/identity/identity.conf.in
@@ -6,7 +6,7 @@ HOSTNAME = localhost
6BINARY = gnunet-service-identity 6BINARY = gnunet-service-identity
7ACCEPT_FROM = 127.0.0.1; 7ACCEPT_FROM = 127.0.0.1;
8ACCEPT_FROM6 = ::1; 8ACCEPT_FROM6 = ::1;
9UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-identity.unix 9UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-identity.unix
10UNIX_MATCH_UID = NO 10UNIX_MATCH_UID = NO
11UNIX_MATCH_GID = YES 11UNIX_MATCH_GID = YES
12 12
diff --git a/src/namestore/namestore.conf.in b/src/namestore/namestore.conf.in
index a5fde1a85..efb326b74 100644
--- a/src/namestore/namestore.conf.in
+++ b/src/namestore/namestore.conf.in
@@ -1,7 +1,7 @@
1[namestore] 1[namestore]
2AUTOSTART = @AUTOSTART@ 2AUTOSTART = @AUTOSTART@
3USER_SERVICE = YES 3USER_SERVICE = YES
4UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-namestore.sock 4UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-namestore.sock
5UNIX_MATCH_UID = NO 5UNIX_MATCH_UID = NO
6UNIX_MATCH_GID = YES 6UNIX_MATCH_GID = YES
7@UNIXONLY@ PORT = 2099 7@UNIXONLY@ PORT = 2099
diff --git a/src/util/util.conf b/src/util/util.conf
index 1daef76d4..3df538f5d 100644
--- a/src/util/util.conf
+++ b/src/util/util.conf
@@ -24,7 +24,13 @@ GNUNET_CONFIG_HOME = ${XDG_CONFIG_HOME:-$GNUNET_HOME/.config}/gnunet/
24GNUNET_CACHE_HOME = ${XDG_CACHE_HOME:-$GNUNET_HOME/.cache}/gnunet/ 24GNUNET_CACHE_HOME = ${XDG_CACHE_HOME:-$GNUNET_HOME/.cache}/gnunet/
25 25
26# Runtime data (i.e UNIX domain sockets, locks, always lost on system boot) 26# Runtime data (i.e UNIX domain sockets, locks, always lost on system boot)
27GNUNET_RUNTIME_DIR = ${XDG_RUNTIME_DIR:-${TMPDIR:-${TMP:-/tmp}}}/gnunet/ 27# This is the variable for system-wide services; use GNUNET_USER_RUNTIME_DIR
28# for per-user services (where USER_SERVICE=YES is set)
29GNUNET_RUNTIME_DIR = ${XDG_RUNTIME_DIR:-${TMPDIR:-${TMP:-/tmp}}}/gnunet-system-runtime/
30
31# Runtime data for per-user services
32GNUNET_USER_RUNTIME_DIR = ${XDG_RUNTIME_DIR:-${TMPDIR:-${TMP:-/tmp}}}/gnunet-${USERHOME:-${USER:-user}}-runtime/
33
28 34
29# Legacy option... 35# Legacy option...
30# GNUNET_TEST_HOME = ~/.gnunet/ 36# GNUNET_TEST_HOME = ~/.gnunet/