diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-13 17:04:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-13 17:04:35 +0000 |
commit | f491ac4fab469421986f77df0bbf79fefc417786 (patch) | |
tree | 1a99677ca3fc3489d6a0dd91443cc9a83bfcea74 /src/nse | |
parent | 85f65a86a9ea908907a89ce7862768b90ca9d084 (diff) | |
download | gnunet-f491ac4fab469421986f77df0bbf79fefc417786.tar.gz gnunet-f491ac4fab469421986f77df0bbf79fefc417786.zip |
change default configurations on systems with UNIX domain sockets to NOT specify any port for TCP-based IPC (and interpret that as no TCP-based IPC desired), as we can and want to use UNIX domain sockets in this case by default
Diffstat (limited to 'src/nse')
-rw-r--r-- | src/nse/Makefile.am | 2 | ||||
-rw-r--r-- | src/nse/nse.conf.in (renamed from src/nse/nse.conf) | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/nse/Makefile.am b/src/nse/Makefile.am index 695059c64..054a77663 100644 --- a/src/nse/Makefile.am +++ b/src/nse/Makefile.am | |||
@@ -11,7 +11,7 @@ endif | |||
11 | 11 | ||
12 | pkgcfgdir= $(pkgdatadir)/config.d/ | 12 | pkgcfgdir= $(pkgdatadir)/config.d/ |
13 | 13 | ||
14 | dist_pkgcfg_DATA = \ | 14 | pkgcfg_DATA = \ |
15 | nse.conf | 15 | nse.conf |
16 | 16 | ||
17 | 17 | ||
diff --git a/src/nse/nse.conf b/src/nse/nse.conf.in index 8cc912d4d..b04f5acfe 100644 --- a/src/nse/nse.conf +++ b/src/nse/nse.conf.in | |||
@@ -1,6 +1,6 @@ | |||
1 | [nse] | 1 | [nse] |
2 | AUTOSTART = YES | 2 | AUTOSTART = YES |
3 | PORT = 2097 | 3 | @UNIXONLY@ PORT = 2097 |
4 | HOSTNAME = localhost | 4 | HOSTNAME = localhost |
5 | HOME = $SERVICEHOME | 5 | HOME = $SERVICEHOME |
6 | CONFIG = $DEFAULTCONFIG | 6 | CONFIG = $DEFAULTCONFIG |
@@ -8,7 +8,7 @@ BINARY = gnunet-service-nse | |||
8 | ACCEPT_FROM = 127.0.0.1; | 8 | ACCEPT_FROM = 127.0.0.1; |
9 | ACCEPT_FROM6 = ::1; | 9 | ACCEPT_FROM6 = ::1; |
10 | UNIXPATH = /tmp/test-nse-service-nse.unix | 10 | UNIXPATH = /tmp/test-nse-service-nse.unix |
11 | UNIX_MATCH_UID = YES | 11 | UNIX_MATCH_UID = NO |
12 | UNIX_MATCH_GID = YES | 12 | UNIX_MATCH_GID = YES |
13 | PROOFFILE = $SERVICEHOME/.nse-proof | 13 | PROOFFILE = $SERVICEHOME/.nse-proof |
14 | HISTOGRAM = $SERVICEHOME/nse-history.log | 14 | HISTOGRAM = $SERVICEHOME/nse-history.log |