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