From 23f3fe76b2bc4541b9ef345adb886faf9f16f7e8 Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Sun, 19 Apr 2009 12:12:42 +0000 Subject: whitespace git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766456 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_server_sup.erl | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'src/couchdb') diff --git a/src/couchdb/couch_server_sup.erl b/src/couchdb/couch_server_sup.erl index 15867ad7..d8396078 100644 --- a/src/couchdb/couch_server_sup.erl +++ b/src/couchdb/couch_server_sup.erl @@ -52,9 +52,9 @@ start_server(IniFiles) -> end; _ -> ok end, - + {ok, ConfigPid} = couch_config:start_link(IniFiles), - + LogLevel = couch_config:get("log", "level", "info"), % announce startup io:format("Apache CouchDB ~s (LogLevel=~s) is starting.~n", [ @@ -68,16 +68,16 @@ start_server(IniFiles) -> || {{Module, Variable}, Value} <- couch_config:all()]; _ -> ok end, - + LibDir = case couch_config:get("couchdb", "util_driver_dir", null) of null -> filename:join(code:priv_dir(couch), "lib"); LibDir0 -> LibDir0 end, - + ok = couch_util:start_driver(LibDir), - + BaseChildSpecs = {{one_for_all, 10, 3600}, [{couch_config, @@ -99,7 +99,6 @@ start_server(IniFiles) -> supervisor, [couch_server_sup]} ]}, - % ensure these applications are running application:start(ibrowse), @@ -117,11 +116,11 @@ start_server(IniFiles) -> ("daemons", _) -> ?MODULE:stop() end, Pid), - + unlink(ConfigPid), - + io:format("Apache CouchDB has started. Time to relax.~n"), - + {ok, Pid}. start_primary_services() -> @@ -170,11 +169,11 @@ start_secondary_services() -> permanent, brutal_kill, worker, - [Module]} + [Module]} end || {Name, SpecStr} <- couch_config:get("daemons"), SpecStr /= ""], - + supervisor:start_link({local, couch_secondary_services}, couch_server_sup, {{one_for_one, 10, 3600}, DaemonChildSpecs}). -- cgit v1.2.3