diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-12-10 17:11:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-12-10 17:11:06 +0000 |
commit | b8fc68d6cb81adb3803186359b3a30b1a4bb7b5a (patch) | |
tree | be6defbdf18e3af9bdcc979cf27b253fe0b4d5f9 /src/hostlist | |
parent | 3871fc32bbd05da817d94f4188023a4edebc367a (diff) | |
download | gnunet-b8fc68d6cb81adb3803186359b3a30b1a4bb7b5a.tar.gz gnunet-b8fc68d6cb81adb3803186359b3a30b1a4bb7b5a.zip |
moving away from DEFAULTSERVICES to per-section FORCESTART, thus addressing #3565 indirectly
Diffstat (limited to 'src/hostlist')
-rw-r--r-- | src/hostlist/Makefile.am | 6 | ||||
-rw-r--r-- | src/hostlist/hostlist.conf | 1 | ||||
-rw-r--r-- | src/hostlist/test_gnunet_daemon_hostlist_data.conf | 1 | ||||
-rw-r--r-- | src/hostlist/test_gnunet_daemon_hostlist_peer1.conf | 1 | ||||
-rw-r--r-- | src/hostlist/test_gnunet_daemon_hostlist_peer2.conf | 1 | ||||
-rw-r--r-- | src/hostlist/test_hostlist_defaults.conf | 74 | ||||
-rw-r--r-- | src/hostlist/test_learning_adv_peer.conf | 1 | ||||
-rw-r--r-- | src/hostlist/test_learning_learn_peer.conf | 1 | ||||
-rw-r--r-- | src/hostlist/test_learning_learn_peer2.conf | 1 |
9 files changed, 5 insertions, 82 deletions
diff --git a/src/hostlist/Makefile.am b/src/hostlist/Makefile.am index 5d5a94b5d..3a68ed051 100644 --- a/src/hostlist/Makefile.am +++ b/src/hostlist/Makefile.am | |||
@@ -4,8 +4,6 @@ pkgcfgdir= $(pkgdatadir)/config.d/ | |||
4 | 4 | ||
5 | libexecdir= $(pkglibdir)/libexec/ | 5 | libexecdir= $(pkglibdir)/libexec/ |
6 | 6 | ||
7 | dist_pkgcfg_DATA = \ | ||
8 | hostlist.conf | ||
9 | 7 | ||
10 | if USE_COVERAGE | 8 | if USE_COVERAGE |
11 | AM_CFLAGS = --coverage -O0 | 9 | AM_CFLAGS = --coverage -O0 |
@@ -22,12 +20,16 @@ libexec_PROGRAMS = \ | |||
22 | gnunet-daemon-hostlist | 20 | gnunet-daemon-hostlist |
23 | LIB_GNURL=@LIBGNURL@ | 21 | LIB_GNURL=@LIBGNURL@ |
24 | CPP_GNURL=@LIBGNURL_CPPFLAGS@ | 22 | CPP_GNURL=@LIBGNURL_CPPFLAGS@ |
23 | dist_pkgcfg_DATA = \ | ||
24 | hostlist.conf | ||
25 | else | 25 | else |
26 | if HAVE_LIBCURL | 26 | if HAVE_LIBCURL |
27 | libexec_PROGRAMS = \ | 27 | libexec_PROGRAMS = \ |
28 | gnunet-daemon-hostlist | 28 | gnunet-daemon-hostlist |
29 | LIB_GNURL=@LIBCURL@ | 29 | LIB_GNURL=@LIBCURL@ |
30 | CPP_GNURL=@LIBCURL_CPPFLAGS@ | 30 | CPP_GNURL=@LIBCURL_CPPFLAGS@ |
31 | dist_pkgcfg_DATA = \ | ||
32 | hostlist.conf | ||
31 | endif | 33 | endif |
32 | endif | 34 | endif |
33 | 35 | ||
diff --git a/src/hostlist/hostlist.conf b/src/hostlist/hostlist.conf index 79acb3900..5c4a86b43 100644 --- a/src/hostlist/hostlist.conf +++ b/src/hostlist/hostlist.conf | |||
@@ -1,4 +1,5 @@ | |||
1 | [hostlist] | 1 | [hostlist] |
2 | FORCESTART = YES | ||
2 | BINARY = gnunet-daemon-hostlist | 3 | BINARY = gnunet-daemon-hostlist |
3 | 4 | ||
4 | # port for hostlist http server | 5 | # port for hostlist http server |
diff --git a/src/hostlist/test_gnunet_daemon_hostlist_data.conf b/src/hostlist/test_gnunet_daemon_hostlist_data.conf index 74d16be89..9f853c244 100644 --- a/src/hostlist/test_gnunet_daemon_hostlist_data.conf +++ b/src/hostlist/test_gnunet_daemon_hostlist_data.conf | |||
@@ -4,7 +4,6 @@ PORT = 12968 | |||
4 | 4 | ||
5 | [arm] | 5 | [arm] |
6 | PORT = 12966 | 6 | PORT = 12966 |
7 | DEFAULTSERVICES = hostlist topology | ||
8 | 7 | ||
9 | [statistics] | 8 | [statistics] |
10 | PORT = 12967 | 9 | PORT = 12967 |
diff --git a/src/hostlist/test_gnunet_daemon_hostlist_peer1.conf b/src/hostlist/test_gnunet_daemon_hostlist_peer1.conf index 0d59325aa..4fc4e8dd1 100644 --- a/src/hostlist/test_gnunet_daemon_hostlist_peer1.conf +++ b/src/hostlist/test_gnunet_daemon_hostlist_peer1.conf | |||
@@ -7,7 +7,6 @@ PORT = 12968 | |||
7 | 7 | ||
8 | [arm] | 8 | [arm] |
9 | PORT = 12966 | 9 | PORT = 12966 |
10 | DEFAULTSERVICES = hostlist topology | ||
11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 10 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
12 | 11 | ||
13 | [statistics] | 12 | [statistics] |
diff --git a/src/hostlist/test_gnunet_daemon_hostlist_peer2.conf b/src/hostlist/test_gnunet_daemon_hostlist_peer2.conf index f3fca70a2..538a91602 100644 --- a/src/hostlist/test_gnunet_daemon_hostlist_peer2.conf +++ b/src/hostlist/test_gnunet_daemon_hostlist_peer2.conf | |||
@@ -7,7 +7,6 @@ PORT = 22968 | |||
7 | 7 | ||
8 | [arm] | 8 | [arm] |
9 | PORT = 22966 | 9 | PORT = 22966 |
10 | DEFAULTSERVICES = hostlist topology | ||
11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 10 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
12 | 11 | ||
13 | [statistics] | 12 | [statistics] |
diff --git a/src/hostlist/test_hostlist_defaults.conf b/src/hostlist/test_hostlist_defaults.conf index b3eb87a2d..d5084692f 100644 --- a/src/hostlist/test_hostlist_defaults.conf +++ b/src/hostlist/test_hostlist_defaults.conf | |||
@@ -1,89 +1,15 @@ | |||
1 | [PATHS] | 1 | [PATHS] |
2 | GNUNET_TEST_HOME = /tmp/test-gnunet-hostlist/ | 2 | GNUNET_TEST_HOME = /tmp/test-gnunet-hostlist/ |
3 | 3 | ||
4 | [resolver] | ||
5 | PORT = 12464 | ||
6 | |||
7 | [transport] | 4 | [transport] |
8 | PORT = 12465 | ||
9 | PLUGINS = tcp | 5 | PLUGINS = tcp |
10 | 6 | ||
11 | [arm] | ||
12 | PORT = 12466 | ||
13 | DEFAULTSERVICES = hostlist | ||
14 | |||
15 | [statistics] | ||
16 | PORT = 12467 | ||
17 | |||
18 | [tcp] | ||
19 | PORT = 12468 | ||
20 | |||
21 | [peerinfo] | 7 | [peerinfo] |
22 | PORT = 12469 | ||
23 | NO_IO = YES | 8 | NO_IO = YES |
24 | 9 | ||
25 | [core] | 10 | [core] |
26 | PORT = 12470 | 11 | PORT = 12470 |
27 | 12 | ||
28 | [testing] | ||
29 | WEAKRANDOM = YES | ||
30 | |||
31 | [hostlist] | ||
32 | HTTP-PROXY = | ||
33 | |||
34 | [cadet] | ||
35 | AUTOSTART = NO | ||
36 | |||
37 | [dns] | ||
38 | AUTOSTART = NO | ||
39 | |||
40 | [nse] | ||
41 | AUTOSTART = NO | ||
42 | |||
43 | [datastore] | ||
44 | AUTOSTART = NO | ||
45 | |||
46 | [fs] | ||
47 | AUTOSTART = NO | ||
48 | |||
49 | [dht] | ||
50 | AUTOSTART = NO | ||
51 | |||
52 | [dv] | ||
53 | AUTOSTART = NO | ||
54 | |||
55 | [revocation] | ||
56 | AUTOSTART = NO | ||
57 | |||
58 | [gns] | ||
59 | AUTOSTART = NO | ||
60 | |||
61 | [vpn] | ||
62 | AUTOSTART = NO | ||
63 | |||
64 | [namestore] | ||
65 | AUTOSTART = NO | ||
66 | |||
67 | [namecache] | ||
68 | AUTOSTART = NO | ||
69 | |||
70 | [nat] | 13 | [nat] |
71 | RETURN_LOCAL_ADDRESSES = YES | 14 | RETURN_LOCAL_ADDRESSES = YES |
72 | 15 | ||
73 | [consensus] | ||
74 | AUTOSTART = NO | ||
75 | |||
76 | [regex] | ||
77 | AUTOSTART = NO | ||
78 | |||
79 | [identity] | ||
80 | AUTOSTART = NO | ||
81 | |||
82 | [conversation] | ||
83 | AUTOSTART = NO | ||
84 | |||
85 | [psycstore] | ||
86 | AUTOSTART = NO | ||
87 | |||
88 | [set] | ||
89 | AUTOSTART = NO | ||
diff --git a/src/hostlist/test_learning_adv_peer.conf b/src/hostlist/test_learning_adv_peer.conf index 1bdcd8101..12087a7b7 100644 --- a/src/hostlist/test_learning_adv_peer.conf +++ b/src/hostlist/test_learning_adv_peer.conf | |||
@@ -7,7 +7,6 @@ PORT = 22968 | |||
7 | 7 | ||
8 | [arm] | 8 | [arm] |
9 | PORT = 22966 | 9 | PORT = 22966 |
10 | DEFAULTSERVICES = topology hostlist | ||
11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-hostlist-p2-service-arm.sock | 10 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-hostlist-p2-service-arm.sock |
12 | 11 | ||
13 | [statistics] | 12 | [statistics] |
diff --git a/src/hostlist/test_learning_learn_peer.conf b/src/hostlist/test_learning_learn_peer.conf index afe3ef69a..44415aa49 100644 --- a/src/hostlist/test_learning_learn_peer.conf +++ b/src/hostlist/test_learning_learn_peer.conf | |||
@@ -7,7 +7,6 @@ PORT = 12968 | |||
7 | 7 | ||
8 | [arm] | 8 | [arm] |
9 | PORT = 12966 | 9 | PORT = 12966 |
10 | DEFAULTSERVICES = topology hostlist | ||
11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-hostlist-p1-service-arm.sock | 10 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-hostlist-p1-service-arm.sock |
12 | 11 | ||
13 | [statistics] | 12 | [statistics] |
diff --git a/src/hostlist/test_learning_learn_peer2.conf b/src/hostlist/test_learning_learn_peer2.conf index dc27bfb9a..f72790a45 100644 --- a/src/hostlist/test_learning_learn_peer2.conf +++ b/src/hostlist/test_learning_learn_peer2.conf | |||
@@ -7,7 +7,6 @@ PORT = 32968 | |||
7 | 7 | ||
8 | [arm] | 8 | [arm] |
9 | PORT = 32966 | 9 | PORT = 32966 |
10 | DEFAULTSERVICES = topology hostlist | ||
11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p3-service-arm.sock | 10 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p3-service-arm.sock |
12 | 11 | ||
13 | [statistics] | 12 | [statistics] |