Skip to content
Permalink
Browse files
debian: fix typo
  • Loading branch information
wohali committed Nov 9, 2017
1 parent e7a318a commit 5927a675461369e802351bf5a0fe0cdb7ea7b069
Showing 1 changed file with 2 additions and 2 deletions.
@@ -75,15 +75,15 @@ if [ -e /opt/couchdb/etc/vm.args ] ; then
fi
if [ -e /opt/couchdb/etc/local.ini ]; then
if grep -q '^bind_address =' /opt/couchdb/etc/local.ini; then
bindaddress="$(grep '^bind_address' /opt/couchdb/etc/local.ini | cut -d ' ' -f 3 | stripwhitepsace)"
bindaddress="$(grep '^bind_address' /opt/couchdb/etc/local.ini | cut -d ' ' -f 3 | stripwhitespace)"
db_set couchdb/bindaddress "${bindaddress}"
fi
fi
# might be overridden by a local.d file
if [ -d /opt/couchdb/etc/local.d -a ls /opt/couchdb/etc/local.d/*.ini >/dev/null 2>&1 ]; then
for f in $(ls /opt/couchdb/etc/local.d/*.ini); do
if grep -q '^bind_address =' $f; then
bindaddress="$(grep '^bind_address' $f | cut -d ' ' -f 3 | stripwhitepsace)"
bindaddress="$(grep '^bind_address' $f | cut -d ' ' -f 3 | stripwhitespace)"
db_set couchdb/bindaddress "${bindaddress}"
fi
done

0 comments on commit 5927a67

Please sign in to comment.