16 lines
324 B
Elixir
16 lines
324 B
Elixir
defmodule Farmbot.PinBinding.Supervisor do
|
|
@moduledoc false
|
|
use Supervisor
|
|
|
|
def start_link(args) do
|
|
Supervisor.start_link(__MODULE__, args, [name: __MODULE__])
|
|
end
|
|
|
|
def init([]) do
|
|
children = [
|
|
{Farmbot.PinBinding.Manager, []},
|
|
]
|
|
Supervisor.init(children, [strategy: :one_for_one])
|
|
end
|
|
end
|