.IP UNIX_MATCH_GID
If UNIX domain sockets are used, set this to YES if only users with the same
GID are allowed to access the service.
-.IP USER_SERVICE
+.IP RUN_PER_USER
Set to YES if this service should be run per-user, NO if this is a system
service. End-users should never have to change the defaults GNUnet provides
for this option.
if ((GNUNET_YES ==
GNUNET_CONFIGURATION_have_value (cfg,
section,
- "USER_SERVICE")) &&
+ "RUN_PER_USER")) &&
(GNUNET_YES ==
GNUNET_CONFIGURATION_get_value_yesno (cfg,
section,
- "USER_SERVICE")))
+ "RUN_PER_USER")))
{
if (GNUNET_NO == start_user)
{
[credential]
BINARY = gnunet-service-credential
UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-credential.sock
-USER_SERVICE = YES
-OPTIONS = -L DEBUG
\ No newline at end of file
+RUN_PER_USER = YES
+OPTIONS = -L DEBUG
[gns-proxy]
BINARY = gnunet-gns-proxy
AUTOSTART = NO
-USER_SERVICE = YES
+RUN_PER_USER = YES
# Where is the certificate for the GNS proxy stored?
PROXY_CACERT = $GNUNET_DATA_HOME/gns/gns_ca_cert.pem
[dns2gns]
BINARY = gnunet-dns2gns
AUTOSTART = NO
-USER_SERVICE = YES
+RUN_PER_USER = YES
# -d: DNS resolver to use, -s: suffix to use, -f: fcfs suffix to use
OPTIONS = -d 8.8.8.8
[identity-provider]
AUTOSTART = NO
-USER_SERVICE = YES
+RUN_PER_USER = YES
#PORT = 2108
HOSTNAME = localhost
BINARY = gnunet-service-identity-provider
[identity]
AUTOSTART = @AUTOSTART@
-USER_SERVICE = YES
+RUN_PER_USER = YES
@JAVAPORT@PORT = 2108
HOSTNAME = localhost
BINARY = gnunet-service-identity
[namecache]
AUTOSTART = @AUTOSTART@
-USER_SERVICE = NO
+RUN_PER_USER = NO
UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-namecache.sock
UNIX_MATCH_UID = NO
UNIX_MATCH_GID = YES
[namestore]
AUTOSTART = @AUTOSTART@
-USER_SERVICE = YES
+RUN_PER_USER = YES
UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-namestore.sock
UNIX_MATCH_UID = NO
UNIX_MATCH_GID = YES
[social]
AUTOSTART = @AUTOSTART@
BINARY = gnunet-service-social
-USER_SERVICE = YES
+RUN_PER_USER = YES
UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-social.sock
UNIX_MATCH_UID = YES
# Runtime data (i.e UNIX domain sockets, locks, always lost on system boot)
# This is the variable for system-wide services; use GNUNET_USER_RUNTIME_DIR
-# for per-user services (where USER_SERVICE=YES is set)
+# for per-user services (where RUN_PER_USER=YES is set)
# Note that the 'gnunet'/system user must have $TMPDIR/$TMP set to
# exactly the same values as 'normal' users, otherwise this will fail.
# If $TMPDIR or $TMP are set to different directories for different