1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
-module(mmc_logmon_sup). -behaviour(supervisor). -export([init/1]). init(_) -> {ok, { {one_for_one, 5, 1}, [ {listener, {aaa, start_link, []}, permanent, 100, worker, [aaa] }, {server, {bbb, start_link, []}, permanent, 100, worker, [bbb] } ] }}.