Browse Source

AUTOSTART renamed into START_ON_DEMAND (#4547a)

psyc://loupsycedyglgamf.onion/~lynX 5 years ago
parent
commit
c293f84ea1
95 changed files with 346 additions and 351 deletions
  1. 10 9
      configure.ac
  2. 29 29
      contrib/conf/gnunet/no_autostart_above_core.conf
  3. 16 16
      contrib/nse/experiments/infiniband.conf
  4. 11 11
      contrib/testbed_configs/regex_profiler_infiniband.conf
  5. 14 14
      contrib/testbed_configs/testbed_cluster.conf
  6. 14 14
      contrib/testbed_configs/testbed_infiniband.conf
  7. 8 8
      contrib/testbed_configs/testbed_supermuc.conf
  8. 4 4
      doc/documentation/chapters/developer.texi
  9. 2 2
      doc/documentation/chapters/user.texi
  10. 1 1
      doc/man/gnunet.conf.5
  11. 0 3
      po/vi.po
  12. 0 3
      po/zh_CN.po
  13. 2 2
      src/arm/gnunet-service-arm.c
  14. 7 7
      src/arm/test_arm_api_data.conf
  15. 1 1
      src/ats/ats.conf.in
  16. 1 1
      src/auction/auction.conf
  17. 1 1
      src/cadet/cadet.conf.in
  18. 8 8
      src/cadet/test_cadet.conf
  19. 1 1
      src/consensus/consensus.conf.in
  20. 3 3
      src/consensus/test_consensus.conf
  21. 1 1
      src/conversation/conversation.conf.in
  22. 1 1
      src/core/core.conf.in
  23. 3 3
      src/credential/test_credential_lookup.conf
  24. 1 1
      src/datastore/datastore.conf.in
  25. 1 1
      src/datastore/test_defaults.conf
  26. 1 1
      src/dht/dht.conf.in
  27. 2 2
      src/dht/test_dht_2dtorus.conf
  28. 2 2
      src/dht/test_dht_api_data.conf
  29. 2 2
      src/dht/test_dht_api_peer1.conf
  30. 2 2
      src/dht/test_dht_line.conf
  31. 2 2
      src/dht/test_dht_monitor.conf
  32. 2 2
      src/dht/test_dht_multipeer.conf
  33. 29 29
      src/dht/test_dht_tools.conf
  34. 1 1
      src/dns/dns.conf.in
  35. 1 1
      src/dv/dv.conf.in
  36. 2 2
      src/dv/test_transport_dv_data.conf
  37. 1 1
      src/fragmentation/test_fragmentation_data.conf
  38. 1 1
      src/fs/fs.conf.in
  39. 1 1
      src/gns/gns-helper-service-w32.conf
  40. 3 3
      src/gns/gns.conf.in
  41. 2 2
      src/gns/test_gns_lookup.conf
  42. 2 2
      src/gns/test_gns_nick_shorten.conf
  43. 2 2
      src/gns/test_gns_proxy.conf
  44. 8 8
      src/gns/test_gns_simple_lookup.conf
  45. 1 1
      src/identity-provider/identity-provider.conf
  46. 4 4
      src/identity-provider/test_idp.conf
  47. 1 1
      src/identity/identity.conf.in
  48. 2 2
      src/integration-tests/confs/c_no_nat_client.conf
  49. 3 3
      src/integration-tests/confs/c_no_nat_client_2.conf
  50. 4 4
      src/integration-tests/confs/test_defaults.conf
  51. 1 1
      src/multicast/multicast.conf.in
  52. 9 9
      src/multicast/test_multicast.conf
  53. 9 9
      src/multicast/test_multicast_line.conf
  54. 9 9
      src/multicast/test_multicast_star.conf
  55. 1 1
      src/namecache/namecache.conf.in
  56. 2 2
      src/namestore/namestore.conf.in
  57. 3 3
      src/namestore/test_namestore_api.conf
  58. 1 1
      src/nat-auto/nat-auto.conf.in
  59. 1 1
      src/nat/nat.conf.in
  60. 1 1
      src/nat/test_nat_test_data.conf
  61. 1 1
      src/nse/nse.conf.in
  62. 1 1
      src/nse/nse_infiniband.conf
  63. 2 2
      src/nse/nse_profiler_test.conf
  64. 1 1
      src/peerinfo/peerinfo.conf.in
  65. 2 2
      src/peerinfo/test_peerinfo_api_data.conf
  66. 1 1
      src/peerstore/peerstore.conf.in
  67. 1 1
      src/peerstore/test_peerstore_api_data.conf
  68. 1 1
      src/psyc/psyc.conf.in
  69. 3 3
      src/psyc/test_psyc.conf
  70. 1 1
      src/psycstore/psycstore.conf.in
  71. 5 5
      src/pt/test_gns_vpn.conf
  72. 3 3
      src/pt/test_gnunet_vpn.conf
  73. 1 1
      src/regex/regex.conf.in
  74. 2 2
      src/regex/test_regex_api_data.conf
  75. 1 1
      src/revocation/revocation.conf.in
  76. 1 1
      src/rps/rps.conf.in
  77. 11 11
      src/rps/test_rps.conf
  78. 2 2
      src/scalarproduct/scalarproduct.conf.in
  79. 1 1
      src/secretsharing/secretsharing.conf.in
  80. 4 4
      src/secretsharing/test_secretsharing.conf
  81. 1 1
      src/set/set.conf.in
  82. 1 1
      src/set/test_set.conf
  83. 1 1
      src/social/social.conf.in
  84. 1 1
      src/statistics/statistics.conf.in
  85. 1 1
      src/template/template.conf
  86. 6 6
      src/testbed-logger/testbed-logger.conf.in
  87. 17 17
      src/testbed/test_testbed_api_barriers.conf.in
  88. 1 1
      src/testbed/test_testbed_api_statistics.conf
  89. 2 2
      src/testbed/test_testbed_api_template.conf
  90. 2 2
      src/testbed/test_testbed_underlay.conf.in
  91. 5 5
      src/testbed/testbed.conf.in
  92. 1 1
      src/transport/transport.conf.in
  93. 1 1
      src/util/resolver.conf.in
  94. 1 1
      src/vpn/vpn.conf.in
  95. 2 2
      src/zonemaster/zonemaster.conf.in

+ 10 - 9
configure.ac

@@ -1377,24 +1377,25 @@ AM_CONDITIONAL([ENABLE_MALICIOUS], [test 1=$malicious])
 AC_DEFINE_UNQUOTED([ENABLE_MALICIOUS], [$malicious],
                    [enable compilation of malicious code])
 
-# should services be started by default when a peer starts?  Some services may
-# choose to never start by default and it is upto the service/module developer to
-# decide it by having "AUTOSTART = NO" instead of "AUTOSTART = @AUTOSTART@" in
-# the service/module's conf.in file.
-AUTOSTART="YES"
-AC_MSG_CHECKING(whether to auto-start peer's services by default)
+# should services be started on demand when needed?  Some services may choose to
+# never start by default and it is up to the service/module developer to decide
+# by having "START_ON_DEMAND = NO" instead of "START_ON_DEMAND = @START_ON_DEMAND@"
+# in the service/module's conf.in file.
+# See also FORCESTART for an unconditional immediate start.
+START_ON_DEMAND="YES"
+AC_MSG_CHECKING(whether to start peer's services on demand by default)
 AC_ARG_ENABLE([autostart],
    [AS_HELP_STRING([--disable-autostart], [do not start peer's services by default])],
    [enable_autostart=${enableval}
     if test "x$enable_autostart" == "xno"
     then
-        AUTOSTART="NO"
+        START_ON_DEMAND="NO"
     fi
    ],
    [enable_autostart=yes])
 AC_MSG_RESULT($enable_autostart)
-#AM_CONDITIONAL([HAVE_AUTOSTART], [test "x$enable_autostart" = "xyes"])
-AC_SUBST(AUTOSTART)
+#AM_CONDITIONAL([HAVE_START_ON_DEMAND], [test "x$enable_autostart" = "xyes"])
+AC_SUBST(START_ON_DEMAND)
 
 # should memory statistics be kept (very expensive CPU-wise!)
 AC_MSG_CHECKING(whether to create expensive statistics on memory use)

+ 29 - 29
contrib/conf/gnunet/no_autostart_above_core.conf

@@ -3,88 +3,88 @@
 # (including resolver)
 
 [dns]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [dht]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [nse]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [cadet]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [datastore]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [fs]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [dv]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [vpn]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [consensus]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [resolver]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [namestore]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [namecache]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [identity]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [revocation]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [conversation]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [peerstore]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [psycstore]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [gns]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [regex]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [set]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [scalarproduct-bob]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [scalarproduct-alice]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [social]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [psyc]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [rps]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [multicast]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [sensordashboard]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [sensor]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [zonemaster-monitor]
-AUTOSTART = NO
+START_ON_DEMAND = NO

+ 16 - 16
contrib/nse/experiments/infiniband.conf

@@ -2,7 +2,7 @@
 SERVICEHOME = $GNUNET_TMP/nse-profiler/
 
 [testbed]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 PORT = 12113
 ACCEPT_FROM = 127.0.0.1;192.168.0.0/16;
 HOSTNAME = localhost
@@ -17,7 +17,7 @@ UNIXPATH = $GNUNET_TMP/test-nse-service-nse.unix
 BINARY = gnunet-service-nse
 #BINARY = /home/mrwiggles/documents/research/gnunet/gnunet-ng/src/nse/.libs/gnunet-service-nse
 #PREFIX = valgrind --leak-check=full --log-file=valgrind_nse.%p
-AUTOSTART = NO
+START_ON_DEMAND = NO
 # Overriding network settings for faster testing (do NOT use
 # these values in production just because they are here)
 WORKDELAY = 60 s
@@ -29,17 +29,17 @@ PROOFFILE = $SERVICEHOME/nse.proof
 UNIXPATH = $GNUNET_TMP/test-nse-service-arm.unix
 
 [statistics]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 PORT = 12115
 
 [fs]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [datastore]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [dht]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [nat]
 DISABLEV6 = YES
@@ -57,34 +57,34 @@ plugins = udp
 PORT = 12116
 
 [core]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [peerinfo]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [dns]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [topology]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [dv]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [resolver]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [cadet]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [chat]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [gns]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [vpn]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [nse-profiler]
 OUTPUT_FILE = nse_output_2000_peers.dat

+ 11 - 11
contrib/testbed_configs/regex_profiler_infiniband.conf

@@ -1,5 +1,5 @@
 [testbed]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 PORT = 11999
 ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
 HOSTNAME = localhost
@@ -13,7 +13,7 @@ BINARY = /home/szengel/gnunet/src/cadet/.libs/gnunet-daemon-regexprofiler
 REGEX_PREFIX = "GNVPN-0001-PAD"
 
 [cadet]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
 APP_ANNOUNCE_TIME = 240 s
 ID_ANNOUNCE_TIME = 120 m
@@ -22,7 +22,7 @@ PORT = 12001
 DHT_REPLICATION_LEVEL = 3
 
 [dht]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
 HOSTNAME = localhost
 # Do not allow DHT to create extra connections, beyond those testbed created
@@ -41,14 +41,14 @@ DISABLE_BF = YES
 IN_MEMORY = YES
 
 [fs]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [resolver]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 HOSTNAME = localhost
 
 [transport]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 PLUGINS = tcp
 ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
 ACCEPT_FROM6 = ::1;
@@ -60,7 +60,7 @@ WAN_QUOTA_OUT = 3932160
 WAN_QUOTA_IN = 3932160
 
 [core]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [transport-tcp]
 TIMEOUT = 300 s
@@ -74,7 +74,7 @@ ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
 
 [statistics]
 PORT = 12008
-AUTOSTART = YES
+START_ON_DEMAND = YES
 ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
 DISABLE = NO
 
@@ -89,15 +89,15 @@ PEERGROUP_TIMEOUT = 2400 s
 SERVICEHOME = $GNUNET_TMP/perf-regex/
 
 [dns]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [nse]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 # Minimize proof-of-work CPU consumption by NSE
 WORKBITS = 1
 
 [vpn]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [nat]
 # Allow running on systems with only loopback?

+ 14 - 14
contrib/testbed_configs/testbed_cluster.conf

@@ -1,5 +1,5 @@
 [testbed]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 PORT = 12113
 ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24; 10.0.0.0/8;
 HOSTNAME = localhost
@@ -11,22 +11,22 @@ SETUP_TIMEOUT = 30m
 MAX_OPEN_FDS = 512
 
 [fs]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [resolver]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [cadet]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 PORT = 71
 
 [dht]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 PORT = 70
 DISABLE_TRY_CONNECT = YES
 
 [statistics]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 PORT = 72
 
 [dhtcache]
@@ -42,7 +42,7 @@ NEIGHBOUR_LIMIT = 10
 
 [core]
 PORT = 12092
-AUTOSTART = YES
+START_ON_DEMAND = YES
 USE_EPHEMERAL_KEYS = NO
 
 [arm]
@@ -58,28 +58,28 @@ BROADCAST = NO
 SERVICEHOME = $GNUNET_TMP/test-testbed/
 
 [dns]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [nse]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [vpn]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [nat]
 RETURN_LOCAL_ADDRESSES = YES
 
 [gns]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [peerinfo]
 NO_IO = YES
 
 [consensus]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [dv]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [lockmanager]
-AUTOSTART = NO
+START_ON_DEMAND = NO

+ 14 - 14
contrib/testbed_configs/testbed_infiniband.conf

@@ -1,5 +1,5 @@
 [testbed]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 PORT = 12113
 ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
 HOSTNAME = localhost
@@ -11,22 +11,22 @@ SETUP_TIMEOUT = 30m
 MAX_OPEN_FDS = 512
 
 [fs]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [resolver]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [cadet]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 PORT = 71
 
 [dht]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 PORT = 70
 DISABLE_TRY_CONNECT = YES
 
 [statistics]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 PORT = 72
 
 [dhtcache]
@@ -42,7 +42,7 @@ NEIGHBOUR_LIMIT = 10
 
 [core]
 PORT = 12092
-AUTOSTART = YES
+START_ON_DEMAND = YES
 USE_EPHEMERAL_KEYS = NO
 
 [arm]
@@ -58,28 +58,28 @@ BROADCAST = NO
 SERVICEHOME = $GNUNET_TMP/test-testbed/
 
 [dns]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [nse]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [vpn]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [nat]
 RETURN_LOCAL_ADDRESSES = YES
 
 [gns]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [peerinfo]
 NO_IO = YES
 
 [consensus]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [dv]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [lockmanager]
-AUTOSTART = NO
+START_ON_DEMAND = NO

+ 8 - 8
contrib/testbed_configs/testbed_supermuc.conf

@@ -1,5 +1,5 @@
 [testbed]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 PORT = 12113
 ACCEPT_FROM = 127.0.0.1;10.0.0.0/8;
 HOSTNAME = localhost
@@ -14,22 +14,22 @@ MAX_OPEN_FDS=512
 SETUP_TIMEOUT = 30 m
 
 [fs]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [resolver]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [cadet]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 PORT = 71
 
 [dht]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 PORT = 70
 DISABLE_TRY_CONNECT = YES
 
 [statistics]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 PORT = 72
 
 [dhtcache]
@@ -45,7 +45,7 @@ NEIGHBOUR_LIMIT = 10
 
 [core]
 PORT = 12092
-AUTOSTART = YES
+START_ON_DEMAND = YES
 USE_EPHEMERAL_KEYS = NO
 
 [arm]
@@ -66,7 +66,7 @@ BEHIND_NAT = NO
 RETURN_LOCAL_ADDRESSES = NO
 
 [peerinfo]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 NO_IO = YES
 
 [testing]

+ 4 - 4
doc/documentation/chapters/developer.texi

@@ -3702,7 +3702,7 @@ running a service with "valgrind" or "gdb"
 
 @item DEBUG Run in debug mode (much verbosity).
 
-@item AUTOSTART ARM will listen to UNIX domain socket and/or TCP port of
+@item START_ON_DEMAND ARM will listen to UNIX domain socket and/or TCP port of
 the service and start the service on-demand.
 
 @item FORCESTART ARM will always start this service when the peer
@@ -3716,7 +3716,7 @@ is started.
 
 
 Options that impact the operation of ARM overall are in the "[arm]"
-section. ARM is a normal service and has (except for AUTOSTART) all of the
+section. ARM is a normal service and has (except for START_ON_DEMAND) all of the
 options that other services do. In addition, ARM has the
 following options:
 
@@ -8642,11 +8642,11 @@ In the following paragraph the important details are highlighted.
 
 Announcing of the regular expressions is done by the
 gnunet-daemon-regexprofiler, therefore you have to make sure it is
-started, by adding it to the AUTOSTART set of ARM:
+started, by adding it to the START_ON_DEMAND set of ARM:
 
 @example
 [regexprofiler]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 @end example
 
 @noindent

+ 2 - 2
doc/documentation/chapters/user.texi

@@ -2574,7 +2574,7 @@ sqLite, MySQL and Postgres.
 
 In order to use GNUnet for file-sharing, you first need to make sure
 that the file-sharing service is loaded.
-This is done by setting the @code{AUTOSTART} option in
+This is done by setting the @code{START_ON_DEMAND} option in
 section @code{[fs]} to "YES". Alternatively, you can run
 
 @example
@@ -2666,7 +2666,7 @@ The configuration section for the transport service itself is quite
 similar to all the other services
 
 @example
-AUTOSTART = YES
+START_ON_DEMAND = YES
 @@UNIXONLY@@ PORT = 2091
 HOSTNAME = localhost
 HOME = $SERVICEHOME

+ 1 - 1
doc/man/gnunet.conf.5

@@ -59,7 +59,7 @@ The following options are generic and shared by all services:
     Start the service always when the peer starts.  Set to YES for services
     that should always be launched, even if no other service explicitly needs
     them.
-.IP AUTOSTART
+.IP START_ON_DEMAND
     Set to YES to automatically start the service when it is requested by
     another service. YES for most GNUnet services.
 .IP NOARMBIND

+ 0 - 3
po/vi.po

@@ -11431,9 +11431,6 @@ msgstr "« %s » thất bại ở tập tin « %s » tại %s:%d với lỗi: %s
 #~ msgid "Unable to create user account for daemon."
 #~ msgstr "Không thể tạo tài khoản người dùng cho trình nền."
 
-#~ msgid "Unable to setup autostart for daemon."
-#~ msgstr "Không thể thiết lập chức năng tự động khởi chạy cho trình nền."
-
 #~ msgid "Save configuration?"
 #~ msgstr "Lưu cấu hình không?"
 

+ 0 - 3
po/zh_CN.po

@@ -10275,9 +10275,6 @@ msgstr ""
 #~ "如果您回答“是”,GNUnet 后台进程将在开机时自动启动。如果您回答“否”,则需要"
 #~ "在每次使用 GNUnet 时自己启动它。"
 
-#~ msgid "Unable to setup autostart for daemon."
-#~ msgstr "无法将守护进程设置为自动启动。"
-
 #~ msgid "Save configuration?"
 #~ msgstr "保存配置?"
 

+ 2 - 2
src/arm/gnunet-service-arm.c

@@ -510,7 +510,7 @@ get_server_addresses (const char *service_name,
     if (GNUNET_YES ==
 	GNUNET_CONFIGURATION_get_value_yesno (cfg,
 					      service_name,
-					      "AUTOSTART"))
+					      "START_ON_DEMAND"))
       LOG (GNUNET_ERROR_TYPE_ERROR,
 	   _("Have neither PORT nor UNIXPATH for service `%s', but one is required\n"),
 	   service_name);
@@ -2076,7 +2076,7 @@ setup_service (void *cls,
     if (GNUNET_YES !=
         GNUNET_CONFIGURATION_get_value_yesno (cfg,
                                               section,
-                                              "AUTOSTART"))
+                                              "START_ON_DEMAND"))
       return;
   }
   if (0 >= (ret = get_server_addresses (section,

+ 7 - 7
src/arm/test_arm_api_data.conf

@@ -10,12 +10,12 @@ OPTIONS = -L ERROR
 #PREFIX = valgrind --tool=memcheck --leak-check=yes
 
 [resolver]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 PORT = 23355
 # PREFIX = valgrind
 
 [do-nothing]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 PORT = 2223
 HOSTNAME = localhost
 BINARY = /will/be/overwritten/by/test_exponential_backoff
@@ -23,16 +23,16 @@ ACCEPT_FROM = 127.0.0.1;
 ACCEPT_FROM6 = ::1;
 
 [statistics]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [core]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [transport]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [ats]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [peerinfo]
-AUTOSTART = NO
+START_ON_DEMAND = NO

+ 1 - 1
src/ats/ats.conf.in

@@ -1,5 +1,5 @@
 [ats]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 @UNIXONLY@ PORT = 2098
 HOSTNAME = localhost
 BINARY = gnunet-service-ats

+ 1 - 1
src/auction/auction.conf

@@ -1,4 +1,4 @@
 [auction]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 BINARY = gnunet-service-auction
 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-auction.sock

+ 1 - 1
src/cadet/cadet.conf.in

@@ -1,6 +1,6 @@
 [cadet]
 FORCESTART = YES
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 @JAVAPORT@PORT = 2096
 HOSTNAME = localhost
 BINARY = gnunet-service-cadet

+ 8 - 8
src/cadet/test_cadet.conf

@@ -69,32 +69,32 @@ WORKBITS = 0
 
 [hostlist]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [fs]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [vpn]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [revocation]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [gns]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [namestore]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [namecache]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [topology]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO

+ 1 - 1
src/consensus/consensus.conf.in

@@ -1,5 +1,5 @@
 [consensus]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 @JAVAPORT@PORT = 2103
 HOSTNAME = localhost
 BINARY = gnunet-service-consensus

+ 3 - 3
src/consensus/test_consensus.conf

@@ -54,13 +54,13 @@ OPERATION_TIMEOUT = 60 s
 MAX_OPEN_FDS = 4096
 
 [hostlist]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [fs]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [revocation]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [nat]
 # Use addresses from the local network interfaces (inluding loopback, but also others)

+ 1 - 1
src/conversation/conversation.conf.in

@@ -1,5 +1,5 @@
 [conversation]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 BINARY = gnunet-service-conversation
 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-conversation.sock
 HOSTNAME = localhost

+ 1 - 1
src/core/core.conf.in

@@ -1,5 +1,5 @@
 [core]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 @JAVAPORT@PORT = 2092
 HOSTNAME = localhost
 BINARY = gnunet-service-core

+ 3 - 3
src/credential/test_credential_lookup.conf

@@ -4,13 +4,13 @@
 GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-credential-peer-1/
 
 [dht]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [transport]
 PLUGINS =
 
 [credential]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 PREFIX = valgrind --leak-check=full --track-origins=yes --log-file=$GNUNET_TMP/credlog
 
 [rest]
@@ -18,7 +18,7 @@ PREFIX = valgrind --leak-check=full --track-origins=yes --log-file=$GNUNET_TMP/r
 
 [gns]
 #PREFIX = valgrind --leak-check=full --track-origins=yes
-AUTOSTART = YES
+START_ON_DEMAND = YES
 AUTO_IMPORT_PKEY = YES
 MAX_PARALLEL_BACKGROUND_QUERIES = 10
 DEFAULT_LOOKUP_TIMEOUT = 15 s

+ 1 - 1
src/datastore/datastore.conf.in

@@ -1,5 +1,5 @@
 [datastore]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-datastore.sock
 UNIX_MATCH_UID = NO
 UNIX_MATCH_GID = YES

+ 1 - 1
src/datastore/test_defaults.conf

@@ -4,7 +4,7 @@
 [datastore]
 PORT = 22654
 QUOTA = 1 MB
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [nse]
 WORKBITS = 1

+ 1 - 1
src/dht/dht.conf.in

@@ -1,6 +1,6 @@
 [dht]
 FORCESTART = YES
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 @JAVAPORT@PORT = 2095
 HOSTNAME = localhost
 BINARY = gnunet-service-dht

+ 2 - 2
src/dht/test_dht_2dtorus.conf

@@ -4,7 +4,7 @@
 GNUNET_TEST_HOME = $GNUNET_TMP/test_dht_2dtorus/
 
 [dht]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 FORCESTART = YES
 
 [dhtcache]
@@ -28,7 +28,7 @@ WAN_QUOTA_OUT = 1 GB
 OVERLAY_TOPOLOGY = 2D_TORUS
 
 [nse]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 WORKDELAY = 500 ms
 INTERVAL = 60 s
 WORKBITS = 0

+ 2 - 2
src/dht/test_dht_api_data.conf

@@ -36,9 +36,9 @@ INTERNAL_ADDRESS = 127.0.0.1
 EXTERNAL_ADDRESS = 127.0.0.1
 
 [dht]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 FORCESTART = YES
 
 [nse]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 WORKBITS = 1

+ 2 - 2
src/dht/test_dht_api_peer1.conf

@@ -33,9 +33,9 @@ EXTERNAL_ADDRESS = 127.0.0.1
 USE_LOCALADDR = NO
 
 [dht]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 FORCESTART = YES
 
 [nse]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 WORKBITS = 1

+ 2 - 2
src/dht/test_dht_line.conf

@@ -4,7 +4,7 @@
 GNUNET_TEST_HOME = $GNUNET_TMP/test_dht_line/
 
 [dht]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 FORCESTART = YES
 
 [dhtcache]
@@ -32,7 +32,7 @@ OVERLAY_TOPOLOGY = LINE
 plugins = unix
 
 [nse]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 WORKDELAY = 500 ms
 INTERVAL = 60 s
 WORKBITS = 0

+ 2 - 2
src/dht/test_dht_monitor.conf

@@ -31,9 +31,9 @@ RETURN_LOCAL_ADDRESSES = YES
 
 
 [dht]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 FORCESTART = YES
 
 [nse]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 WORKBITS = 1

+ 2 - 2
src/dht/test_dht_multipeer.conf

@@ -2,7 +2,7 @@
 @INLINE@ ../../contrib/conf/gnunet/no_autostart_above_core.conf
 
 [dht]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 FORCESTART = YES
 
 [dhtcache]
@@ -34,7 +34,7 @@ EXTERNAL_ADDRESS = 127.0.0.1
 USE_LOCALADDR = YES
 
 [nse]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 WORKDELAY = 500 ms
 INTERVAL = 60 s
 WORKBITS = 0

+ 29 - 29
src/dht/test_dht_tools.conf

@@ -30,93 +30,93 @@ EXTERNAL_ADDRESS = 127.0.0.1
 USE_LOCALADDR = NO
 
 [dht]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 FORCESTART = YES
 
 [nse]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 WORKBITS = 1
 # Configuration to disable autostarting of
 # all services above the 'core' level.
 # (including resolver)
 
 [dns]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [cadet]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [datastore]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [fs]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [dv]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [vpn]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [consensus]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [resolver]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [namestore]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [namecache]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [identity]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [revocation]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [conversation]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [peerstore]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [psycstore]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [gns]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [regex]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [set]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [scalarproduct-bob]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [scalarproduct-alice]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [social]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [psyc]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [rps]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [multicast]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [sensordashboard]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [sensor]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 # Configuration file that can be included to prevent ANY of the usual
 # FORCESTART = YES to be set.  Also disables NSE POW calculation.
 #
@@ -154,4 +154,4 @@ FORCESTART = NO
 FORCESTART = NO
 
 [zonemaster]
-FORCESTART = NO
+FORCESTART = NO

+ 1 - 1
src/dns/dns.conf.in

@@ -1,5 +1,5 @@
 [dns]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 HOSTNAME = localhost
 BINARY = gnunet-service-dns
 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-dns.sock

+ 1 - 1
src/dv/dv.conf.in

@@ -1,5 +1,5 @@
 [dv]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 ACCEPT_FROM6 = ::1;
 ACCEPT_FROM = 127.0.0.1;
 BINARY = gnunet-service-dv

+ 2 - 2
src/dv/test_transport_dv_data.conf

@@ -6,11 +6,11 @@ PLUGINS = tcp dv
 #PREFIX = valgrind --leak-check=full --track-fds=yes --leak-resolution=high
 
 [dv]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 # PREFIX = valgrind --leak-check=full --track-fds=yes --leak-resolution=high
 
 [set]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 # PREFIX = valgrind --leak-check=full --track-fds=yes --leak-resolution=high
 
 [core]

+ 1 - 1
src/fragmentation/test_fragmentation_data.conf

@@ -1,5 +1,5 @@
 
 [nse]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 

+ 1 - 1
src/fs/fs.conf.in

@@ -1,5 +1,5 @@
 [fs]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 FORCESTART = YES
 INDEXDB = $GNUNET_DATA_HOME/fs/idxinfo.lst
 RESPECT = $GNUNET_DATA_HOME/fs/credit/

+ 1 - 1
src/gns/gns-helper-service-w32.conf

@@ -1,4 +1,4 @@
 [gns-helper-service-w32]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 BINARY = gnunet-gns-helper-service-w32
 PORT = 5353

+ 3 - 3
src/gns/gns.conf.in

@@ -1,5 +1,5 @@
 [gns]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 FORCESTART = YES
 HOSTNAME = localhost
 BINARY = gnunet-service-gns
@@ -30,7 +30,7 @@ INTERCEPT_DNS = NO
 
 [gns-proxy]
 BINARY = gnunet-gns-proxy
-AUTOSTART = NO
+START_ON_DEMAND = NO
 RUN_PER_USER = YES
 
 # Where is the certificate for the GNS proxy stored?
@@ -40,7 +40,7 @@ PROXY_UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-gns-proxy.sock
 
 [dns2gns]
 BINARY = gnunet-dns2gns
-AUTOSTART = NO
+START_ON_DEMAND = NO
 RUN_PER_USER = YES
 
 # -d: DNS resolver to use, -s: suffix to use, -f: fcfs suffix to use

+ 2 - 2
src/gns/test_gns_lookup.conf

@@ -4,14 +4,14 @@
 GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-gns-peer-1/
 
 [dht]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [transport]
 PLUGINS =
 
 [gns]
 # PREFIX = valgrind --leak-check=full --track-origins=yes
-AUTOSTART = YES
+START_ON_DEMAND = YES
 AUTO_IMPORT_PKEY = YES
 MAX_PARALLEL_BACKGROUND_QUERIES = 10
 DEFAULT_LOOKUP_TIMEOUT = 15 s

+ 2 - 2
src/gns/test_gns_nick_shorten.conf

@@ -4,14 +4,14 @@
 GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-gns-peer-1/
 
 [dht]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [transport]
 PLUGINS =
 
 [gns]
 #PREFIX = valgrind --leak-check=full --track-origins=yes
-AUTOSTART = YES
+START_ON_DEMAND = YES
 AUTO_IMPORT_PKEY = YES
 MAX_PARALLEL_BACKGROUND_QUERIES = 10
 DEFAULT_LOOKUP_TIMEOUT = 15 s

+ 2 - 2
src/gns/test_gns_proxy.conf

@@ -13,7 +13,7 @@ WEAKRANDOM = YES
 HOSTKEYSFILE = ${DATADIR}/testing_hostkeys.dat
 
 [gns]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 ZONEKEY = $GNUNET_TEST_HOME/.zonekey
 HIJACK_DNS = YES
 
@@ -22,7 +22,7 @@ PROXY_CACERT = proxy/test_cert.pem
 PROXY_UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-gns-proxy.sock
 
 [namestore]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [dns]
 PROVIDE_EXIT = NO

+ 8 - 8
src/gns/test_gns_simple_lookup.conf

@@ -1,13 +1,13 @@
 @INLINE@ test_gns_defaults.conf
 [fs]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [resolver]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 HOSTNAME = localhost
 
 [dht]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 ACCEPT_FROM6 = ::1;
 ACCEPT_FROM = 127.0.0.1;
 HOSTNAME = localhost
@@ -54,12 +54,12 @@ EXTERNAL_ADDRESS = 127.0.0.1
 USE_LOCALADDR = NO
 
 [dns]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 DNS_EXIT = 8.8.8.8
 
 [gns]
 #PREFIX = valgrind --leak-check=full --track-origins=yes
-AUTOSTART = YES
+START_ON_DEMAND = YES
 BINARY = gnunet-service-gns
 ZONEKEY = zonefiles/test_zonekey
 PRIVATE_ZONE = private
@@ -75,14 +75,14 @@ DEFAULT_LOOKUP_TIMEOUT = 15 s
 RECORD_PUT_INTERVAL = 1 h
 
 [nse]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [statistics]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [namestore]
 PORT = 22371
-AUTOSTART = YES
+START_ON_DEMAND = YES
 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-namestore-default.sock
 UNIX_MATCH_UID = YES
 UNIX_MATCH_GID = YES

+ 1 - 1
src/identity-provider/identity-provider.conf

@@ -1,5 +1,5 @@
 [identity-provider]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 RUN_PER_USER = YES
 #PORT = 2108
 HOSTNAME = localhost

+ 4 - 4
src/identity-provider/test_idp.conf

@@ -4,22 +4,22 @@
 GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-idp-peer-1/
 
 [dht]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [rest]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 PREFIX = valgrind --leak-check=full --track-origins=yes --log-file=$GNUNET_TMP/restlog
 
 [transport]
 PLUGINS =
 
 [identity-provider]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 #PREFIX = valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --log-file=$GNUNET_TMP/idplog
 
 [gns]
 #PREFIX = valgrind --leak-check=full --track-origins=yes
-AUTOSTART = YES
+START_ON_DEMAND = YES
 AUTO_IMPORT_PKEY = YES
 MAX_PARALLEL_BACKGROUND_QUERIES = 10
 DEFAULT_LOOKUP_TIMEOUT = 15 s

+ 1 - 1
src/identity/identity.conf.in

@@ -1,5 +1,5 @@
 [identity]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 RUN_PER_USER = YES
 @JAVAPORT@PORT = 2108
 HOSTNAME = localhost

+ 2 - 2
src/integration-tests/confs/c_no_nat_client.conf

@@ -32,13 +32,13 @@ UNIXPATH = $GNUNET_RUNTIME_DIR/test-service-arm-18
 PORT = 20022
 
 [namestore]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [dns]
 UNIXPATH = $GNUNET_RUNTIME_DIR/test-service-dns-19
 
 [consensus]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [core]
 UNIXPATH = $GNUNET_RUNTIME_DIR/test-service-core-17

+ 3 - 3
src/integration-tests/confs/c_no_nat_client_2.conf

@@ -33,16 +33,16 @@ UNIXPATH = $GNUNET_RUNTIME_DIR/test-service-arm-18
 PORT = 20022
 
 [namestore]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [dns]
 UNIXPATH = $GNUNET_RUNTIME_DIR/test-service-dns-19
 
 [consensus]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [lockmanager]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [core]
 UNIXPATH = $GNUNET_RUNTIME_DIR/test-service-core-17

+ 4 - 4
src/integration-tests/confs/test_defaults.conf

@@ -5,16 +5,16 @@
 FORCESTART = YES
 
 [datastore]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [dht]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [nse]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [cadet]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [hostlist]
 FORCESTART = YES

+ 1 - 1
src/multicast/multicast.conf.in

@@ -1,5 +1,5 @@
 [multicast]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 BINARY = gnunet-service-multicast
 
 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-multicast.sock

+ 9 - 9
src/multicast/test_multicast.conf

@@ -10,7 +10,7 @@ GLOBAL_POSTFIX=-L ERROR
 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-multicast.sock
 
 [vpn]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [peerinfo]
 # Do not use shipped gnunet HELLOs 
@@ -22,35 +22,35 @@ NO_IO = YES
 
 [hostlist]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [nat]
 ENABLE_UPNP = NO
 
 [fs]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [vpn]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [revocation]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [gns]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [namestore]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [namecache]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [topology]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO

+ 9 - 9
src/multicast/test_multicast_line.conf

@@ -11,7 +11,7 @@ GLOBAL_POSTFIX=-L ERROR
 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-multicast.sock
 
 [vpn]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [peerinfo]
 # Do not use shipped gnunet HELLOs 
@@ -26,38 +26,38 @@ ID_ANNOUNCE_TIME = 5 s
 
 [hostlist]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [nat]
 ENABLE_UPNP = NO
 
 [fs]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [vpn]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [revocation]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [gns]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [namestore]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [namecache]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [topology]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [nse]
 WORKBITS = 0

+ 9 - 9
src/multicast/test_multicast_star.conf

@@ -11,7 +11,7 @@ GLOBAL_POSTFIX=-L ERROR
 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-multicast.sock
 
 [vpn]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [peerinfo]
 # Do not use shipped gnunet HELLOs 
@@ -26,38 +26,38 @@ ID_ANNOUNCE_TIME = 5 s
 
 [hostlist]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [nat]
 ENABLE_UPNP = NO
 
 [fs]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [vpn]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [revocation]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [gns]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [namestore]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [namecache]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [topology]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [nse]
 WORKBITS = 0

+ 1 - 1
src/namecache/namecache.conf.in

@@ -1,5 +1,5 @@
 [namecache]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 RUN_PER_USER = NO
 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-namecache.sock
 UNIX_MATCH_UID = NO

+ 2 - 2
src/namestore/namestore.conf.in

@@ -1,5 +1,5 @@
 [namestore]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 RUN_PER_USER = YES
 UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-namestore.sock
 UNIX_MATCH_UID = NO
@@ -42,7 +42,7 @@ gns = gnunet-namestore
 [fcfsd]
 # Name of the fcfs registration service binary (for ARM)
 BINARY = gnunet-namestore-fcfsd
-AUTOSTART = NO
+START_ON_DEMAND = NO
 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-fcfsd.sock
 
 # On what port does the FCFS daemon listen for HTTP clients?

+ 3 - 3
src/namestore/test_namestore_api.conf

@@ -6,14 +6,14 @@ GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-namestore/
 
 [namestore]
 DATABASE = sqlite
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [namecache]
 DATABASE = sqlite
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [identity]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [nse]
 WORKBITS = 0

+ 1 - 1
src/nat-auto/nat-auto.conf.in

@@ -1,5 +1,5 @@
 [nat-auto]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 @UNIXONLY@ PORT = 2124
 HOSTNAME = localhost
 BINARY = gnunet-service-nat-auto

+ 1 - 1
src/nat/nat.conf.in

@@ -1,5 +1,5 @@
 [nat]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 @UNIXONLY@ PORT = 2121
 HOSTNAME = localhost
 BINARY = gnunet-service-nat

+ 1 - 1
src/nat/test_nat_test_data.conf

@@ -42,6 +42,6 @@ DISABLEV6 = YES
 
 
 [nse]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 

+ 1 - 1
src/nse/nse.conf.in

@@ -1,5 +1,5 @@
 [nse]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 FORCESTART = YES
 @JAVAPORT@PORT = 2097
 HOSTNAME = localhost

+ 1 - 1
src/nse/nse_infiniband.conf

@@ -2,7 +2,7 @@
 GNUNET_TEST_HOME = $GNUNET_TMP/nse-profiler/
 
 [testbed]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 ORT = 12113
 ACCEPT_FROM = 127.0.0.1; 10.6.0.0/16; 192.168.0.0/16;
 HOSTNAME = localhost

+ 2 - 2
src/nse/nse_profiler_test.conf

@@ -2,7 +2,7 @@
 GNUNET_TEST_HOME = $GNUNET_TMP/nse-profiler/
 
 [testbed]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 PORT = 12113
 ACCEPT_FROM = 127.0.0.1; 10.6.0.0/16;
 HOSTNAME = localhost
@@ -13,7 +13,7 @@ OPERATION_TIMEOUT = 45 s
 
 [nse]
 FORCESTART = YES
-AUTOSTART = NO
+START_ON_DEMAND = NO
 # Overriding network settings for faster testing (do NOT use
 # these values in production just because they are here)
 WORKDELAY = 60 s

+ 1 - 1
src/peerinfo/peerinfo.conf.in

@@ -1,5 +1,5 @@
 [peerinfo]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 @JAVAPORT@PORT = 2090
 HOSTNAME = localhost
 BINARY = gnunet-service-peerinfo

+ 2 - 2
src/peerinfo/test_peerinfo_api_data.conf

@@ -5,11 +5,11 @@ GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-peerinfo/
 PORT = 22354
 
 [dns]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 
 
 [nse]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 

+ 1 - 1
src/peerstore/peerstore.conf.in

@@ -1,5 +1,5 @@
 [peerstore]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 @JAVAPORT@PORT = 2110
 HOSTNAME = localhost
 BINARY = gnunet-service-peerstore

+ 1 - 1
src/peerstore/test_peerstore_api_data.conf

@@ -2,7 +2,7 @@
 GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-peerstore
 
 [peerstore]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 BINARY = gnunet-service-peerstore
 UNIXPATH = $GNUNET_TMP/gnunet-service-peerstore.sock
 HOME = $SERVICEHOME

+ 1 - 1
src/psyc/psyc.conf.in

@@ -1,5 +1,5 @@
 [psyc]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 BINARY = gnunet-service-psyc
 
 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-psyc.sock

+ 3 - 3
src/psyc/test_psyc.conf

@@ -17,12 +17,12 @@ ENABLE_UPNP = NO
 
 [psyc]
 FORCESTART = YES
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [multicast]
 FORCESTART = YES
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [psycstore]
 FORCESTART = YES
-AUTOSTART = YES
+START_ON_DEMAND = YES

+ 1 - 1
src/psycstore/psycstore.conf.in

@@ -1,5 +1,5 @@
 [psycstore]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 BINARY = gnunet-service-psycstore
 
 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-psycstore.sock

+ 5 - 5
src/pt/test_gns_vpn.conf

@@ -28,15 +28,15 @@ DNS_EXIT = 8.8.8.8
 FORCESTART = YES
 
 [identity]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 FORCESTART = YES
 
 [hostlist]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 FORCESTART = NO
 
 [zonemaster]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 FORCESTART = YES
 
 #[vpn]
@@ -61,7 +61,7 @@ TCP_REDIRECTS = 80:localhost4:8080
 TTL = 3600000
 
 [gns]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 ZONEKEY = $GNUNET_TEST_HOME/.zonekey
 
 # Delays starting of GNS, as we need to first
@@ -69,7 +69,7 @@ ZONEKEY = $GNUNET_TEST_HOME/.zonekey
 FORCESTART = NO
 
 [namestore]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [nat]
 USE_LOCALADDR = YES

+ 3 - 3
src/pt/test_gnunet_vpn.conf

@@ -21,7 +21,7 @@ IPV4MASK = 255.255.255.0
 EXIT_IFNAME = eth1
 
 [hostlist]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 FORCESTART = NO
 
 [nse]
@@ -38,11 +38,11 @@ IPV4MASK = 255.255.255.0
 
 
 [gns]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [nat]
 USE_LOCALADDR = YES
 RETURN_LOCAL_ADDRESSES = YES
 
 [consensus]
-AUTOSTART = NO
+START_ON_DEMAND = NO

+ 1 - 1
src/regex/regex.conf.in

@@ -1,5 +1,5 @@
 [regex]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 @UNIXONLY@ PORT = 2107
 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-regex.sock
 HOSTNAME = localhost

+ 2 - 2
src/regex/test_regex_api_data.conf

@@ -19,11 +19,11 @@ WAN_QUOTA_IN = 1 GB
 WAN_QUOTA_OUT = 1 GB
 
 [dht]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 PORT = 12370
 
 [regex]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [transport]
 plugins = tcp

+ 1 - 1
src/revocation/revocation.conf.in

@@ -1,5 +1,5 @@
 [revocation]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 FORCESTART = YES
 @JAVAPORT@PORT = 2112
 HOSTNAME = localhost

+ 1 - 1
src/rps/rps.conf.in

@@ -1,5 +1,5 @@
 [rps]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 BINARY = gnunet-service-rps
 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-rps.sock
 HOME = $SERVICEHOME

+ 11 - 11
src/rps/test_rps.conf

@@ -6,7 +6,7 @@ HOME = $SERVICEHOME
 # PORT = 2106
 #@UNIXONLY@ PORT = 2087
 FORCESTART = YES
-AUTOSTART = NO
+START_ON_DEMAND = NO
 NOARMBIND = YES
 #OPTIONS=-l /tmp/rps_profiler_logs/rps-[]-%Y-%m-%d.log
 
@@ -81,43 +81,43 @@ DISABLE_TRY_CONNECT = YES
 
 #[statistics]
 #FORCESTART = NO
-#AUTOSTART = NO
+#START_ON_DEMAND = NO
 
 [peerinfo]
 NO_IO = YES
 
 [hostlist]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [zonemaster]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [namecache]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [namestore]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [topology]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [vpn]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [revocation]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [gns]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [fs]
 FORCESTART = NO
-AUTOSTART = NO
+START_ON_DEMAND = NO

+ 2 - 2
src/scalarproduct/scalarproduct.conf.in

@@ -1,5 +1,5 @@
 [scalarproduct-alice]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 BINARY = gnunet-service-scalarproduct-ecc-alice
 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-scalarproduct-alice.sock
 @UNIXONLY@ PORT = 2117
@@ -12,7 +12,7 @@ UNIX_MATCH_GID = YES
 
 
 [scalarproduct-bob]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 HOSTNAME = localhost
 BINARY = gnunet-service-scalarproduct-ecc-bob
 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-scalarproduct-bob.sock

+ 1 - 1
src/secretsharing/secretsharing.conf.in

@@ -1,5 +1,5 @@
 [secretsharing]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 @JAVAPORT@PORT = 2114
 HOSTNAME = localhost
 BINARY = gnunet-service-secretsharing

+ 4 - 4
src/secretsharing/test_secretsharing.conf

@@ -1,10 +1,10 @@
 [secretsharing]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 #PREFIX = valgrind --leak-check=full
 OPTIONS = -LINFO
 
 [consensus]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [transport]
 OPTIONS = -LERROR
@@ -12,7 +12,7 @@ PLUGINS = unix
 
 [set]
 OPTIONS = -L INFO
-AUTOSTART = YES
+START_ON_DEMAND = YES
 #PREFIX = valgrind --leak-check=full
 
 [testbed]
@@ -32,5 +32,5 @@ DISABLEV6 = NO
 RETURN_LOCAL_ADDRESSES = YES
 
 [nse]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 

+ 1 - 1
src/set/set.conf.in

@@ -1,5 +1,5 @@
 [set]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 @UNIXONLY@PORT = 2106
 HOSTNAME = localhost
 BINARY = gnunet-service-set

+ 1 - 1
src/set/test_set.conf

@@ -4,7 +4,7 @@
 GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-set/
 
 [set]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 #PREFIX = valgrind --leak-check=full
 #PREFIX = gdbserver :1234
 OPTIONS = -L INFO

+ 1 - 1
src/social/social.conf.in

@@ -1,5 +1,5 @@
 [social]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 BINARY = gnunet-service-social
 RUN_PER_USER = YES
 

+ 1 - 1
src/statistics/statistics.conf.in

@@ -1,5 +1,5 @@
 [statistics]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 @JAVAPORT@PORT = 2088
 HOSTNAME = localhost
 BINARY = gnunet-service-statistics

+ 1 - 1
src/template/template.conf

@@ -1,5 +1,5 @@
 [template]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 PORT = 9999
 HOSTNAME = localhost
 BINARY = gnunet-service-template

+ 6 - 6
src/testbed-logger/testbed-logger.conf.in

@@ -1,5 +1,5 @@
 [testbed]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 @JAVAPORT@ PORT = 2101
 HOSTNAME = localhost
 BINARY = gnunet-service-testbed
@@ -90,7 +90,7 @@ SHARED_SERVICES =
 
 
 [testbed-logger]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 @UNIXONLY@ PORT = 2102
 HOSTNAME = localhost
 BINARY = gnunet-service-testbed-logger
@@ -101,7 +101,7 @@ UNIX_MATCH_GID = YES
 
 
 [testbed-barrier]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 @UNIXONLY@ PORT = 2103
 HOSTNAME = localhost
 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-testbed-barrier.sock
@@ -112,7 +112,7 @@ UNIX_MATCH_GID = YES
 # This section is related to configuring underlay restrictions to simulate
 # connectivity restrictions of NAT boxes
 [testbed-underlay]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 NOARMBIND = YES
 BINARY = gnunet-daemon-testbed-underlay
 # The sqlite3 database file containing information about what underlay
@@ -120,8 +120,8 @@ BINARY = gnunet-daemon-testbed-underlay
 # DBFILE =
 
 [latency-logger]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 NOARMBIND = YES
 BINARY = gnunet-daemon-latency-logger
 # The sqlite3 database file where the latency values are to be stored
-# DBFILE =
+# DBFILE =

+ 17 - 17
src/testbed/test_testbed_api_barriers.conf.in

@@ -1,5 +1,5 @@
 [testbed]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 PORT = 12113
 ACCEPT_FROM = 127.0.0.1;
 HOSTNAME = localhost
@@ -10,25 +10,25 @@ TOPOLOGY = RANDOM
 PORT = 12366
 
 [test-barriers]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 PORT = 12114
 BINARY = /will/be/overwriten/in/test_testbed_api_barriers/
 FORCESTART = YES
 
 [fs]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 FORCESTART = NO
 
 [resolver]
 HOSTNAME = localhost
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [cadet]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 FORCESTART = NO
 
 [dht]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 FORCESTART = NO
 
 [dhtcache]
@@ -49,7 +49,7 @@ WAN_QUOTA_IN = 3932160
 
 [core]
 PORT = 12092
-AUTOSTART = YES
+START_ON_DEMAND = YES
 FORCESTART = YES
 USE_EPHEMERAL_KEYS = NO
 
@@ -61,15 +61,15 @@ PORT = 12368
 GNUNET_TEST_HOME = $GNUNET_TMP/test-testbed/
 
 [dns]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 FORCESTART = NO
 
 [nse]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 FORCESTART = NO
 
 [vpn]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 FORCESTART = NO
 
 [nat]
@@ -77,27 +77,27 @@ RETURN_LOCAL_ADDRESSES = YES
 FORCESTART = NO
 
 [gns-helper-service-w32]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 
 [consensus]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 FORCESTART = NO
 
 [gns]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 FORCESTART = NO
 
 [statistics]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 FORCESTART = NO
 
 [peerinfo]
 NO_IO = YES
 
 [set]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 FORCESTART = NO
 
 [revocation]
-AUTOSTART = NO
-FORCESTART = NO
+START_ON_DEMAND = NO
+FORCESTART = NO

+ 1 - 1
src/testbed/test_testbed_api_statistics.conf

@@ -5,5 +5,5 @@ OVERLAY_TOPOLOGY = 2D_TORUS
 MAX_PARALLEL_SERVICE_CONNECTIONS = 2
 
 [statistics]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 PORT = 30

+ 2 - 2
src/testbed/test_testbed_api_template.conf

@@ -2,7 +2,7 @@
 @INLINE@ ../../contrib/conf/gnunet/no_autostart_above_core.conf
 
 [testbed]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 PORT = 12113
 ACCEPT_FROM = 127.0.0.1;
 HOSTNAME = localhost
@@ -22,7 +22,7 @@ FORCESTART = YES
 
 # Transport requires resolver when connecting to a peer, so enable it
 [resolver]
-AUTOSTART = YES
+START_ON_DEMAND = YES
 
 [ats]
 WAN_QUOTA_OUT = 3932160

+ 2 - 2
src/testbed/test_testbed_underlay.conf.in

@@ -5,9 +5,9 @@ OVERLAY_TOPOLOGY = LINE
 OPERATION_TIMEOUT = 5 s
 
 [testbed-underlay]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 DBFILE = /will/be/overwritten/by/testcase
 FORCESTART = YES
 
 [dv]
-AUTOSTART = NO
+START_ON_DEMAND = NO

+ 5 - 5
src/testbed/testbed.conf.in

@@ -1,5 +1,5 @@
 [testbed]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 @JAVAPORT@ PORT = 2101
 HOSTNAME = localhost
 BINARY = gnunet-service-testbed
@@ -90,7 +90,7 @@ SHARED_SERVICES =
 
 
 [testbed-barrier]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 @UNIXONLY@ PORT = 2103
 HOSTNAME = localhost
 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-testbed-barrier.sock
@@ -101,7 +101,7 @@ UNIX_MATCH_GID = YES
 # This section is related to configuring underlay restrictions to simulate
 # connectivity restrictions of NAT boxes
 [testbed-underlay]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 NOARMBIND = YES
 BINARY = gnunet-daemon-testbed-underlay
 # The sqlite3 database file containing information about what underlay
@@ -109,8 +109,8 @@ BINARY = gnunet-daemon-testbed-underlay
 # DBFILE =
 
 [latency-logger]
-AUTOSTART = NO
+START_ON_DEMAND = NO
 NOARMBIND = YES
 BINARY = gnunet-daemon-latency-logger
 # The sqlite3 database file where the latency values are to be stored
-# DBFILE =
+# DBFILE =

+ 1 - 1
src/transport/transport.conf.in

@@ -1,5 +1,5 @@
 [transport]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 @JAVAPORT@PORT = 2091
 HOSTNAME = localhost
 BINARY = gnunet-service-transport

+ 1 - 1
src/util/resolver.conf.in

@@ -1,5 +1,5 @@
 [resolver]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 @JAVAPORT@PORT = 2089
 HOSTNAME = localhost
 BINARY = gnunet-service-resolver

+ 1 - 1
src/vpn/vpn.conf.in

@@ -1,5 +1,5 @@
 [vpn]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 @UNIXONLY@ PORT = 2105
 HOSTNAME = localhost
 BINARY = gnunet-service-vpn

+ 2 - 2
src/zonemaster/zonemaster.conf.in

@@ -1,5 +1,5 @@
 [zonemaster]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 FORCESTART = YES
 HOSTNAME = localhost
 BINARY = gnunet-service-zonemaster
@@ -27,7 +27,7 @@ ZONE_PUBLISH_TIME_WINDOW = 4 h
 
 
 [zonemaster-monitor]
-AUTOSTART = @AUTOSTART@
+START_ON_DEMAND = @START_ON_DEMAND@
 FORCESTART = YES
 HOSTNAME = localhost
 BINARY = gnunet-service-zonemaster-monitor