aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-03 13:19:52 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-03 13:19:52 +0000
commit29c724d2a7764f83fe846b418d09540348b86983 (patch)
treedafaff8e37ba51355b22b6f38d856ae49e145006 /src/core
parentb303961f38c9b578f30248ee364ed4e5ffdcd06c (diff)
downloadgnunet-29c724d2a7764f83fe846b418d09540348b86983.tar.gz
gnunet-29c724d2a7764f83fe846b418d09540348b86983.zip
implementing #1747
Diffstat (limited to 'src/core')
-rw-r--r--src/core/Makefile.am5
-rw-r--r--src/core/core.conf25
-rw-r--r--src/core/test_core_defaults.conf3
3 files changed, 33 insertions, 0 deletions
diff --git a/src/core/Makefile.am b/src/core/Makefile.am
index b2629a567..13054d15a 100644
--- a/src/core/Makefile.am
+++ b/src/core/Makefile.am
@@ -1,5 +1,10 @@
1INCLUDES = -I$(top_srcdir)/src/include 1INCLUDES = -I$(top_srcdir)/src/include
2 2
3pkgcfgdir= $(pkgdatadir)/config.d/
4
5dist_pkgcfg_DATA = \
6 core.conf
7
3if MINGW 8if MINGW
4 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 9 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
5endif 10endif
diff --git a/src/core/core.conf b/src/core/core.conf
new file mode 100644
index 000000000..1d7815ad6
--- /dev/null
+++ b/src/core/core.conf
@@ -0,0 +1,25 @@
1[core]
2AUTOSTART = YES
3PORT = 2092
4HOSTNAME = localhost
5HOME = $SERVICEHOME
6CONFIG = $DEFAULTCONFIG
7BINARY = gnunet-service-core
8ACCEPT_FROM = 127.0.0.1;
9ACCEPT_FROM6 = ::1;
10# quotas are in bytes per second now!
11TOTAL_QUOTA_IN = 65536
12TOTAL_QUOTA_OUT = 65536
13UNIXPATH = /tmp/gnunet-service-core.sock
14UNIX_MATCH_UID = YES
15UNIX_MATCH_GID = YES
16# DISABLE_SOCKET_FORWARDING = NO
17# DEBUG = YES
18# USERNAME =
19# MAXBUF =
20# TIMEOUT =
21# DISABLEV6 =
22# BINDTO =
23# REJECT_FROM =
24# REJECT_FROM6 =
25# PREFIX =
diff --git a/src/core/test_core_defaults.conf b/src/core/test_core_defaults.conf
index 5d8da2d34..b3b745095 100644
--- a/src/core/test_core_defaults.conf
+++ b/src/core/test_core_defaults.conf
@@ -43,3 +43,6 @@ AUTOSTART = NO
43 43
44[nse] 44[nse]
45AUTOSTART = NO 45AUTOSTART = NO
46
47[dv]
48AUTOSTART = NO \ No newline at end of file