17 lines
341 B
Elixir
17 lines
341 B
Elixir
defmodule Farmbot.Core.CeleryScript.Supervisor do
|
|
@moduledoc false
|
|
use Supervisor
|
|
|
|
def start_link(args) do
|
|
Supervisor.start_link(__MODULE__, args, name: __MODULE__)
|
|
end
|
|
|
|
def init([]) do
|
|
children = [
|
|
{Farmbot.Core.CeleryScript.RunTimeWrapper, []}
|
|
]
|
|
|
|
Supervisor.init(children, strategy: :one_for_one)
|
|
end
|
|
end
|