gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-sync] branch master updated: provide paths


From: gnunet
Subject: [taler-sync] branch master updated: provide paths
Date: Tue, 03 Dec 2019 23:47:39 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository sync.

The following commit(s) were added to refs/heads/master by this push:
     new 2300a85  provide paths
2300a85 is described below

commit 2300a850fe3bcf0176ff77f51cf0cb699bc9a79e
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Dec 3 23:47:37 2019 +0100

    provide paths
---
 src/sync/sync.conf | 38 +++++++++++++++++++++++++++++++++++++-
 1 file changed, 37 insertions(+), 1 deletion(-)

diff --git a/src/sync/sync.conf b/src/sync/sync.conf
index 2b1d1d0..0242454 100644
--- a/src/sync/sync.conf
+++ b/src/sync/sync.conf
@@ -18,7 +18,7 @@ PORT = 9967
 # BIND_TO =
 
 # Which unix domain path should we bind to? Only used if "SERVE" is 'unix'.
-UNIXPATH = ${sync_RUNTIME_DIR}/backend.http
+UNIXPATH = ${SYNC_RUNTIME_DIR}/backend.http
 # What should be the file access permissions (see chmod) for "UNIXPATH"?
 UNIXPATH_MODE = 660
 
@@ -42,3 +42,39 @@ PAYMENT_BACKEND_URL = http://localhost:9966/
 # Configuration for postgres database.
 [syncdb-postgres]
 CONFIG = postgres:///sync
+
+
+[PATHS]
+# The PATHS section is special, as filenames including $-expression are
+# expanded using the values from PATHS or the system environment (PATHS
+# is checked first).  libgnunetutil supports expanding $-expressions using
+# defaults with the syntax "${VAR:-default}".  Here, "default" can again
+# be a $-expression.
+#
+# We usually want $HOME for $SYNC_HOME
+#
+SYNC_HOME = ${HOME:-${USERPROFILE}}
+
+# see XDG Base Directory Specification at
+# http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
+# for how these should be used.
+
+# Persistant data storage
+SYNC_DATA_HOME = ${XDG_DATA_HOME:-$SYNC_HOME/.local/share}/sync/
+
+# Configuration files
+SYNC_CONFIG_HOME = ${XDG_CONFIG_HOME:-$SYNC_HOME/.config}/sync/
+
+# Cached data, no big deal if lost
+SYNC_CACHE_HOME = ${XDG_CACHE_HOME:-$SYNC_HOME/.cache}/sync/
+
+# Runtime data (i.e UNIX domain sockets, locks, always lost on system boot)
+SYNC_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/sync-runtime/
+
+# Directory to use for temporary files.
+SYNC_TMP = ${TMPDIR:-${TMP:-/tmp}}/sync/
+
+# DEFAULTCONFIG = /etc/sync.conf
+# If 'DEFAULTCONFIG' is not defined, the current
+# configuration file is assumed to be the default,
+# which is what we want by default...

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]