util.conf 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. [PATHS]
  2. # The PATHS section is special, as filenames including $-expression are
  3. # expanded using the values from PATHS or the system environment (PATHS
  4. # is checked first). GNUnet also supports expanding $-expressions using
  5. # defaults with the syntax "${VAR:-default}". Here, "default" can again
  6. # be a $-expression.
  7. #
  8. # We usually want $HOME for $GNUNET_HOME, but we allow testcases to
  9. # easily override this by setting $GNUNET_TEST_HOME.
  10. #
  11. GNUNET_HOME = ${GNUNET_TEST_HOME:-${HOME:-${USERPROFILE}}}
  12. # see XDG Base Directory Specification at
  13. # http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
  14. # for how these should be used.
  15. # Persistant data storage
  16. GNUNET_DATA_HOME = ${XDG_DATA_HOME:-$GNUNET_HOME/.local/share}/gnunet/
  17. # Configuration files
  18. GNUNET_CONFIG_HOME = ${XDG_CONFIG_HOME:-$GNUNET_HOME/.config}/gnunet/
  19. # Cached data, no big deal if lost
  20. GNUNET_CACHE_HOME = ${XDG_CACHE_HOME:-$GNUNET_HOME/.cache}/gnunet/
  21. # Runtime data (i.e UNIX domain sockets, locks, always lost on system boot)
  22. # This is the variable for system-wide services; use GNUNET_USER_RUNTIME_DIR
  23. # for per-user services (where RUN_PER_USER=YES is set)
  24. # Note that the 'gnunet'/system user must have $TMPDIR/$TMP set to
  25. # exactly the same values as 'normal' users, otherwise this will fail.
  26. # If $TMPDIR or $TMP are set to different directories for different
  27. # users, this option should be changed to point to the same directory
  28. # for all users (i.e. by simply using "/tmp/gnunet-system-runtime/").
  29. GNUNET_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/gnunet-system-runtime/
  30. # Runtime data for per-user services
  31. GNUNET_USER_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/gnunet-${USERHOME:-${USER:-user}}-runtime/
  32. # Directory to use for temporary files.
  33. GNUNET_TMP = ${TMPDIR:-${TMP:-/tmp}}/gnunet/
  34. # Override for GNUNET_HOME used by test cases.
  35. # GNUNET_TEST_HOME = /tmp/foo/bar
  36. # DEFAULTCONFIG = /etc/gnunet.conf
  37. # If 'DEFAULTCONFIG' is not defined, the current
  38. # configuration file is assumed to be the default,
  39. # which is what we want by default...
  40. [PEER]
  41. # Where do we store our private key?
  42. PRIVATE_KEY = $GNUNET_DATA_HOME/private_key.ecc
  43. # What kind of system are we on? Choices are
  44. # INFRASTRUCTURE (always-on, grid, data center)
  45. # DESKTOP (sometimes-on, grid, office)
  46. # NOTEBOOK (sometimes-on, mobile, often limited network,
  47. # if on-battery than large battery)
  48. # MOBILE (sometimes-on, mobile, always limited network,
  49. # always battery limited)
  50. # UNKNOWN (not configured/specified/known)
  51. SYSTEM_TYPE = UNKNOWN
  52. [TESTING]
  53. SPEEDUP_INTERVAL = 0 ms
  54. SPEEDUP_DELTA = 0 ms
  55. # This following option is applicable to LINUX. Enabling this option causes all
  56. # UNIX domain sockets to be opened as abstract sockets. Note that the
  57. # filesystem level restrictions no longer apply for abstract sockets. An
  58. # end-user should not modify this option.
  59. USE_ABSTRACT_SOCKETS = NO