anchor.diff:              supervisor,
               [couch_server_sup]}
           ]},
  -   
   
       % ensure these applications are running
       application:start(ibrowse),
  
positive.code:                 permanent,
                  brutal_kill,
                  worker,
                  [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}).
  
  
negative.code:         ("daemons", _) ->
              ?MODULE:stop()
          end, Pid),
  
      unlink(ConfigPid),
  
      io:format("Apache CouchDB has started. Time to relax.~n"),
  
      {ok, Pid}.
  
  start_primary_services() ->
  