diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-03 13:19:52 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-03 13:19:52 +0000 |
commit | 29c724d2a7764f83fe846b418d09540348b86983 (patch) | |
tree | dafaff8e37ba51355b22b6f38d856ae49e145006 /src/hostlist | |
parent | b303961f38c9b578f30248ee364ed4e5ffdcd06c (diff) | |
download | gnunet-29c724d2a7764f83fe846b418d09540348b86983.tar.gz gnunet-29c724d2a7764f83fe846b418d09540348b86983.zip |
implementing #1747
Diffstat (limited to 'src/hostlist')
-rw-r--r-- | src/hostlist/Makefile.am | 5 | ||||
-rw-r--r-- | src/hostlist/hostlist.conf | 14 | ||||
-rw-r--r-- | src/hostlist/test_hostlist_defaults.conf | 3 |
3 files changed, 22 insertions, 0 deletions
diff --git a/src/hostlist/Makefile.am b/src/hostlist/Makefile.am index 8af1d4a7f..f764f2fbe 100644 --- a/src/hostlist/Makefile.am +++ b/src/hostlist/Makefile.am | |||
@@ -1,5 +1,10 @@ | |||
1 | INCLUDES = -I$(top_srcdir)/src/include | 1 | INCLUDES = -I$(top_srcdir)/src/include |
2 | 2 | ||
3 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
4 | |||
5 | dist_pkgcfg_DATA = \ | ||
6 | hostlist.conf | ||
7 | |||
3 | if USE_COVERAGE | 8 | if USE_COVERAGE |
4 | AM_CFLAGS = --coverage -O0 | 9 | AM_CFLAGS = --coverage -O0 |
5 | endif | 10 | endif |
diff --git a/src/hostlist/hostlist.conf b/src/hostlist/hostlist.conf new file mode 100644 index 000000000..3f8c14227 --- /dev/null +++ b/src/hostlist/hostlist.conf | |||
@@ -0,0 +1,14 @@ | |||
1 | [hostlist] | ||
2 | # port for hostlist http server | ||
3 | HTTPPORT = 8080 | ||
4 | HOME = $SERVICEHOME | ||
5 | HOSTLISTFILE = $SERVICEHOME/hostlist/learned.data | ||
6 | CONFIG = $DEFAULTCONFIG | ||
7 | BINARY = gnunet-daemon-hostlist | ||
8 | # consider having "-e" as default as well once implemented | ||
9 | OPTIONS = -b | ||
10 | SERVERS = http://v9.gnunet.org:58080/ | ||
11 | # proxy for downloading hostlists | ||
12 | HTTP-PROXY = | ||
13 | |||
14 | |||
diff --git a/src/hostlist/test_hostlist_defaults.conf b/src/hostlist/test_hostlist_defaults.conf index 473ac2a95..08c58b963 100644 --- a/src/hostlist/test_hostlist_defaults.conf +++ b/src/hostlist/test_hostlist_defaults.conf | |||
@@ -48,3 +48,6 @@ AUTOSTART = NO | |||
48 | 48 | ||
49 | [dht] | 49 | [dht] |
50 | AUTOSTART = NO | 50 | AUTOSTART = NO |
51 | |||
52 | [dv] | ||
53 | AUTOSTART = NO \ No newline at end of file | ||