Current section

Files

Jump to
perspective lib core system services supervisor.ex
Raw

lib/core/system/services/supervisor.ex

defmodule Core.Services.Supervisor do
use Supervisor
def start_link(init_arg) do
Supervisor.start_link(__MODULE__, init_arg, name: __MODULE__)
end
def init(_init_arg) do
children = [
{Core.Services.SystemClock, []}
]
Supervisor.init(children, strategy: :one_for_one)
end
end