donau

Donation authority for GNU Taler (experimental)
Log | Files | Refs | Submodules | README | LICENSE

paths.conf (1087B)


      1 # This file is in the public domain.
      2 #
      3 [PATHS]
      4 # The PATHS section is special, as filenames including $-expression are
      5 # expanded using the values from PATHS or the system environment (PATHS
      6 # is checked first).  Donau also supports expanding $-expressions using
      7 # defaults with the syntax "${VAR:-default}".  Here, "default" can again
      8 # be a $-expression.
      9 #
     10 # We usually want $HOME for $DONAU_HOME, but we allow testcases to
     11 # easily override this by setting $DONAU_TEST_HOME.
     12 #
     13 DONAU_HOME = ${DONAU_TEST_HOME:-${HOME:-${USERPROFILE}}}
     14 
     15 # see XDG Base Directory Specification at
     16 # http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
     17 # for how these should be used.
     18 
     19 # Persistent data storage
     20 DONAU_DATA_HOME = ${XDG_DATA_HOME:-${DONAU_HOME}/.local/share}/donau/
     21 
     22 # Configuration files
     23 DONAU_CONFIG_HOME = ${XDG_CONFIG_HOME:-${DONAU_HOME}/.config}/donau/
     24 
     25 # Cached data, no big deal if lost
     26 DONAU_CACHE_HOME = ${XDG_CACHE_HOME:-${DONAU_HOME}/.cache}/donau/
     27 
     28 # Runtime data (always lost on system boot)
     29 DONAU_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/donau-system-runtime/