From 60bd316ffe3c65ebdca21c43ff52fd1aa77159e4 Mon Sep 17 00:00:00 2001 From: varac Date: Thu, 7 Nov 2013 16:19:49 +0000 Subject: added /etc/leap/couchdb_scripts_defaults.conf as possible config file and EXCLUDE_DBS default var --- couchdb_scripts_defaults.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/couchdb_scripts_defaults.conf b/couchdb_scripts_defaults.conf index 133feb7..22ba01e 100644 --- a/couchdb_scripts_defaults.conf +++ b/couchdb_scripts_defaults.conf @@ -19,5 +19,12 @@ couchdb_user=`cat $NETRC_FILE | cut -d ' ' -f 4` couchdb_pw=`cat $NETRC_FILE | cut -d ' ' -f 6` couchdb_auth_url="http://${couchdb_user}:${couchdb_pw}@127.0.0.1:5984" +# space separated list of excluded DBs for dumping +# checked by couchdb_dumpall.sh +EXCLUDE_DBS='' + # source custom defaults if present +[ -f "/etc/leap/couchdb_scripts_defaults.conf" ] && . "/etc/leap/couchdb_scripts_defaults.conf" [ -f "${HOME}/.couchdb_scripts_defaults.conf" ] && . "${HOME}/.couchdb_scripts_defaults.conf" +# don't edit below this line, or your custom variables will not +# properly override variables in this config file -- cgit v1.2.3