farmbot_os/farmbot_core/lib/celery_script/supervisor.ex

16 lines
331 B
Elixir

defmodule Farmbot.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.CeleryScript.CsvmWrapper, []}
]
Supervisor.init(children, [strategy: :one_for_one])
end
end