diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-12 08:40:04 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-12 08:40:04 +0000 |
commit | 56bfc1608f8cb90f13bd2263ce0f1bd14f77159e (patch) | |
tree | b846669b5fdb75debeb0273dcbd073b7597f12cd /src | |
parent | 217821d5221b92b4f46d148abf1fea16c38767d0 (diff) | |
download | gnunet-56bfc1608f8cb90f13bd2263ce0f1bd14f77159e.tar.gz gnunet-56bfc1608f8cb90f13bd2263ce0f1bd14f77159e.zip |
-trying to fix #3202
Diffstat (limited to 'src')
-rw-r--r-- | src/arm/arm.conf.in | 9 | ||||
-rw-r--r-- | src/gns/gns.conf.in | 2 | ||||
-rw-r--r-- | src/identity/identity.conf.in | 2 | ||||
-rw-r--r-- | src/namestore/namestore.conf.in | 2 | ||||
-rw-r--r-- | src/util/util.conf | 8 |
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 | |||
6 | ACCEPT_FROM = 127.0.0.1; | 6 | ACCEPT_FROM = 127.0.0.1; |
7 | ACCEPT_FROM6 = ::1; | 7 | ACCEPT_FROM6 = ::1; |
8 | DEFAULTSERVICES = topology hostlist dht nse mesh fs | 8 | DEFAULTSERVICES = topology hostlist dht nse mesh fs |
9 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-arm.sock | 9 | # Special case, uses user runtime dir even for per-system service. |
10 | UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-arm.sock | ||
10 | UNIX_MATCH_UID = YES | 11 | UNIX_MATCH_UID = YES |
11 | UNIX_MATCH_GID = YES | 12 | UNIX_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 @@ | |||
2 | AUTOSTART = @AUTOSTART@ | 2 | AUTOSTART = @AUTOSTART@ |
3 | HOSTNAME = localhost | 3 | HOSTNAME = localhost |
4 | BINARY = gnunet-service-gns | 4 | BINARY = gnunet-service-gns |
5 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-gns.sock | 5 | UNIXPATH = $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 | |||
6 | BINARY = gnunet-service-identity | 6 | BINARY = gnunet-service-identity |
7 | ACCEPT_FROM = 127.0.0.1; | 7 | ACCEPT_FROM = 127.0.0.1; |
8 | ACCEPT_FROM6 = ::1; | 8 | ACCEPT_FROM6 = ::1; |
9 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-identity.unix | 9 | UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-identity.unix |
10 | UNIX_MATCH_UID = NO | 10 | UNIX_MATCH_UID = NO |
11 | UNIX_MATCH_GID = YES | 11 | UNIX_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] |
2 | AUTOSTART = @AUTOSTART@ | 2 | AUTOSTART = @AUTOSTART@ |
3 | USER_SERVICE = YES | 3 | USER_SERVICE = YES |
4 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-namestore.sock | 4 | UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-namestore.sock |
5 | UNIX_MATCH_UID = NO | 5 | UNIX_MATCH_UID = NO |
6 | UNIX_MATCH_GID = YES | 6 | UNIX_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/ | |||
24 | GNUNET_CACHE_HOME = ${XDG_CACHE_HOME:-$GNUNET_HOME/.cache}/gnunet/ | 24 | GNUNET_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) |
27 | GNUNET_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) | ||
29 | GNUNET_RUNTIME_DIR = ${XDG_RUNTIME_DIR:-${TMPDIR:-${TMP:-/tmp}}}/gnunet-system-runtime/ | ||
30 | |||
31 | # Runtime data for per-user services | ||
32 | GNUNET_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/ |