anchor.diff:      end,
       timer:sleep(?RESTART_DELAY).
   
  --spec node_monitor(nonempty_string(), node(), {bool(), bool()}) -> _.
  +-spec node_monitor(host(), node(), {boolean(), boolean()}) -> 'ok'.
   node_monitor(Host, Node, WebConfig) ->
       monitor_node(Node, true),
       start_ddfs_node(Node, WebConfig),
  
positive.code:     wait(Node),
      disco_server:connection_status(Host, down).
  
  -spec wait(node()) -> _.
  wait(Node) ->
      receive
          {is_ready, Pid} ->
  
negative.code:                 self(),
                  disco:get_setting("DISCO_ERLANG")).
  
  -spec is_master(host()) -> boolean().
  is_master(Host) ->
      % the underlying tcp connection used by net_adm:names() may hang,
      % so we use a timed rpc.
  