Commits

Anonymous committed 2754172

webmachine_router is started under webmachine_sup, no need to start it under Project_sup

  • Participants
  • Parent commits 92ce4bc

Comments (0)

Files changed (1)

priv/templates/src/wmskel_sup.erl

     Web = {webmachine_mochiweb,
            {webmachine_mochiweb, start, [WebConfig]},
            permanent, 5000, worker, dynamic},
-    Router = {webmachine_router,
-              {webmachine_router, start_link, []},
-              permanent, 5000, worker, dynamic},
-    Processes = [Web, Router],
+    Processes = [Web],
     {ok, { {one_for_one, 10, 10}, Processes} }.