RUN addgroup gnunetdns && addgroup gnunet && adduser --system --home /var/lib/gnunet gnunet
RUN chown gnunet:gnunet /var/lib/gnunet
-RUN echo '[arm]\nSYSTEM_ONLY = YES\nUSER_ONLY = NO\n' > /etc/gnunet.conf
+RUN echo '[arm]\nSTART_SYSTEM_SERVICES = YES\nSTART_USER_SERVICES = NO\n' > /etc/gnunet.conf
ADD docker-entrypoint.sh .
@example
[arm]
-SYSTEM_ONLY = YES
-USER_ONLY = NO
+START_SYSTEM_SERVICES = YES
+START_USER_SERVICES = NO
@end example
@noindent
@example
[arm]
-SYSTEM_ONLY = NO
-USER_ONLY = YES
+START_SYSTEM_SERVICES = NO
+START_USER_SERVICES = YES
DEFAULTSERVICES = gns
@end example
@example
[arm]
-SYSTEM_ONLY = YES
-USER_ONLY = NO
+START_SYSTEM_SERVICES = YES
+START_USER_SERVICES = NO
@end example
@noindent
@example
[arm]
-SYSTEM_ONLY = NO
-USER_ONLY = YES
+START_SYSTEM_SERVICES = NO
+START_USER_SERVICES = YES
@end example
@noindent
EXTERNAL_ADDRESS = 157.166.249.10
[arm]
- SYSTEM_ONLY = YES
- USER_ONLY = NO
+ START_SYSTEM_SERVICES = YES
+ START_USER_SERVICES = NO
.SH FILES
.TP
# system-level services (and we'll expect a second ARM to be
# run per-user to run user-level services). Note that in this
# case you must have manually created a different configuration
-# file with the user where at least this and the USER_ONLY
+# file with the user where at least this and the START_USER_SERVICES
# options differ.
-# SYSTEM_ONLY = YES
+# START_SYSTEM_SERVICES = YES
# If set to YES, ARM will only start services that are marked as
# per-user services (and we'll expect a system user to run ARM to
# USER ARM instances to some free port (counting down from 2085 should
# be sane).
#
-# USER_ONLY = YES
+# START_USER_SERVICES = YES
# File where we should log per-service resource consumption on exit.
# RESOURCE_DIAGNOSTICS = resource.log
final_option);
start_user = GNUNET_CONFIGURATION_get_value_yesno (cfg,
"ARM",
- "USER_ONLY");
+ "START_USER_SERVICES");
start_system = GNUNET_CONFIGURATION_get_value_yesno (cfg,
"ARM",
- "SYSTEM_ONLY");
+ "START_SYSTEM_SERVICES");
if ( (GNUNET_NO == start_user) &&
(GNUNET_NO == start_system) )
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
- "Please configure either USER_ONLY or SYSTEM_ONLY or both.\n");
+ "Please configure either START_USER_SERVICES or START_SYSTEM_SERVICES or both.\n");
GNUNET_SCHEDULER_shutdown ();
global_ret = 1;
return;
[arm]
PORT = 0
ALLOW_SHUTDOWN = YES
-SYSTEM_ONLY = NO
-USER_ONLY = NO
+START_SYSTEM_SERVICES = NO
+START_USER_SERVICES = NO
[exit]
FORCESTART = YES