You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
342 B

3 years ago
3 years ago
  1. -module(eWSrv_sup).
  2. -behaviour(supervisor).
  3. -export([start_link/0]).
  4. -export([init/1]).
  5. -define(SERVER, ?MODULE).
  6. start_link() ->
  7. supervisor:start_link({local, ?SERVER}, ?MODULE, []).
  8. init([]) ->
  9. SupFlags = #{strategy => one_for_all,
  10. intensity => 0,
  11. period => 1},
  12. ChildSpecs = [],
  13. {ok, {SupFlags, ChildSpecs}}.