summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/membership_app.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/membership_app.erl b/src/membership_app.erl
index 589a6f81..7f050fe5 100644
--- a/src/membership_app.erl
+++ b/src/membership_app.erl
@@ -10,10 +10,11 @@
%% @doc start required apps, join cluster, start supervisor
start(_Type, _StartArgs) ->
- % start dynomite supervisor
+ couch_api:create_db(<<"dbs">>, []), % all nodes have local 'dbs' db
+ % start membership supervisor
membership_sup:start_link().
stop({_, Sup}) ->
- ?LOG_ALERT("dynomite application stopped", []),
+ ?LOG_ALERT("membership application stopped", []),
exit(Sup, normal),
ok.