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.

18 lines
417 B

defmodule TirInnaNoc.Sup do
use Supervisor
def start_link(opts) do
Supervisor.start_link(__MODULE__, :ok, opts)
end
@impl true
def init(:ok) do
children = [
{TirInnaNoc.Db, [nil]},
{TirInnaNoc.Rate, [nil]},
{DynamicSupervisor, strategy: :one_for_one, name: MerlinSupervisor},
{TirInnaNoc.Merlin, [nil]}
]
Supervisor.init(children, strategy: :one_for_one)
end
end