Skip to content

Commit

Permalink
tagging 0.9.1
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/couchdb/tags/0.9.1@791289 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Noah Slater committed Jul 5, 2009
2 parents 874ee91 + db3b56a commit 111e428
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 53 deletions.
2 changes: 1 addition & 1 deletion CHANGES
Expand Up @@ -6,10 +6,10 @@ Version 0.9.1

Build and System Integration:

* Updated top-level documentation.
* PID file directory is now created by the SysV/BSD daemon scripts.
* Fixed the environment variables shown by the configure script.
* Fixed the build instructions shown by the configure script.
* Updated ownership and permission advice in `README` for better security.

Configuration and stats system:

Expand Down
2 changes: 2 additions & 0 deletions README
Expand Up @@ -150,12 +150,14 @@ Change the ownership of the Apache CouchDB directories by running:
chown -R couchdb:couchdb /usr/local/etc/couchdb
chown -R couchdb:couchdb /usr/local/var/lib/couchdb
chown -R couchdb:couchdb /usr/local/var/log/couchdb
chown -R couchdb:couchdb /usr/local/var/run/couchdb

Change the permission of the Apache CouchDB directories by running:

chmod -R 0770 /usr/local/etc/couchdb
chmod -R 0770 /usr/local/var/lib/couchdb
chmod -R 0770 /usr/local/var/log/couchdb
chmod -R 0770 /usr/local/var/run/couchdb

Running Manually
^^^^^^^^^^^^^^^^
Expand Down
1 change: 0 additions & 1 deletion configure.ac
Expand Up @@ -242,7 +242,6 @@ AC_SUBST([localstatelibdir], [${localstatedir}/lib/${package_identifier}])
AC_SUBST([localstatelogdir], [${localstatedir}/log/${package_identifier}])
AC_SUBST([localstaterundir], [${localstatedir}/run/${package_identifier}])
AC_SUBST([locallibbindir], [${locallibdir}/bin])
AC_SUBST([localerlangbindir], [${locallibdir}/erlang/bin])
AC_SUBST([localerlanglibdir], [${locallibdir}/erlang/lib])

# fix for older autotools that don't define "abs_top_YYY" by default
Expand Down
1 change: 0 additions & 1 deletion etc/Makefile.am
Expand Up @@ -43,7 +43,6 @@ init/couchdb: init/couchdb.tpl
sed -e "s|%configure_input%|$@. Generated from $< by configure.|" \
-e "s|%bindir%|$(bindir)|" \
-e "s|%sysconfdir%|$(sysconfdir)|" \
-e "s|%localerlangbindir%|$(localerlangbindir)|" \
-e "s|%localstaterundir%|$(localstaterundir)|" \
-e "s|%couchdb_command_name%|$(couchdb_command_name)|" \
< $< > $@
Expand Down
48 changes: 0 additions & 48 deletions share/www/script/test/copy_move_doc.js

This file was deleted.

2 changes: 1 addition & 1 deletion share/www/script/test/stats.js
Expand Up @@ -63,7 +63,7 @@ couchTests.stats = function(debug) {
db.createDb();
}

var open_databases = requestStatsTest("couchdb", "open_databases").max;
var open_databases = requestStatsTest("couchdb", "open_databases").current;
T(open_databases > 0 && max >= open_databases, name);

for(var i=0; i<max+1; i++) {
Expand Down
6 changes: 5 additions & 1 deletion src/couchdb/couch_server_sup.erl
Expand Up @@ -32,8 +32,12 @@ start_link(IniFiles) ->
end.

restart_core_server() ->
supervisor:terminate_child(couch_secondary_services, stats_aggregator),
supervisor:terminate_child(couch_secondary_services, stats_collector),
supervisor:terminate_child(couch_primary_services, couch_server),
supervisor:restart_child(couch_primary_services, couch_server).
supervisor:restart_child(couch_primary_services, couch_server),
supervisor:restart_child(couch_secondary_services, stats_collector),
supervisor:restart_child(couch_secondary_services, stats_aggregator).

couch_config_start_link_wrapper(IniFiles, FirstConfigPid) ->
case is_process_alive(FirstConfigPid) of
Expand Down
2 changes: 2 additions & 0 deletions var/Makefile.am
Expand Up @@ -14,8 +14,10 @@ install-data-hook:
if test ! "$(mkdir_p)" = ""; then \
$(mkdir_p) "$(DESTDIR)$(localstatelibdir)"; \
$(mkdir_p) "$(DESTDIR)$(localstatelogdir)"; \
$(mkdir_p) "$(DESTDIR)$(localstaterundir)"; \
else \
echo "WARNING: You may have to create these directories by hand."; \
mkdir -p "$(DESTDIR)$(localstatelibdir)"; \
mkdir -p "$(DESTDIR)$(localstatelogdir)"; \
mkdir -p "$(DESTDIR)$(localstaterundir)"; \
fi

0 comments on commit 111e428

Please sign in to comment.