diff options
Diffstat (limited to 'lib/irc/application.ex')
-rw-r--r-- | lib/irc/application.ex | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/irc/application.ex b/lib/irc/application.ex index 82fc053..70b3d0f 100644 --- a/lib/irc/application.ex +++ b/lib/irc/application.ex @@ -1,19 +1,13 @@ defmodule Irc.Application do - # See https://hexdocs.pm/elixir/Application.html - # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do - # List all child processes to be supervised children = [ - # Starts a worker by calling: Irc.Worker.start_link(arg) - # {Irc.Worker, arg} + {Irc.STS, []} ] - # See https://hexdocs.pm/elixir/Supervisor.html - # for other strategies and supported options opts = [strategy: :one_for_one, name: Irc.Supervisor] Supervisor.start_link(children, opts) end |