anastasis

Credential backup and recovery protocol and service
Log | Files | Refs | Submodules | README | LICENSE

paths.conf (1145B)


      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).  Anastasis 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 $ANASTASIS_HOME, but we allow testcases to
     11 # easily override this by setting $ANASTASIS_TEST_HOME.
     12 #
     13 ANASTASIS_HOME = ${ANASTASIS_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 ANASTASIS_DATA_HOME = ${XDG_DATA_HOME:-$ANASTASIS_HOME/.local/share}/anastasis/
     21 
     22 # Configuration files
     23 ANASTASIS_CONFIG_HOME = ${XDG_CONFIG_HOME:-$ANASTASIS_HOME/.config}/anastasis/
     24 
     25 # Cached data, no big deal if lost
     26 ANASTASIS_CACHE_HOME = ${XDG_CACHE_HOME:-$ANASTASIS_HOME/.cache}/anastasis/
     27 
     28 # Runtime data (always lost on system boot)
     29 ANASTASIS_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/anastasis-system-runtime/