1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
defmodule Toglx.Supervisor do use Supervisor def start_link do Supervisor.start_link(__MODULE__, [], name: __MODULE__) end def init(_) do children = [ ] opts = [strategy: :one_for_one] supervise(children, opts) end end