Current section

Files

Jump to
sms_up lib sms_up application.ex
Raw

lib/sms_up/application.ex

defmodule SmsUp.Application do
@moduledoc false
use Application
@impl true
@spec start(any, any) :: {:error, any} | {:ok, pid}
def start(_type, _args) do
children = [
SmsUp.Db.Clustering,
SmsUp.Pin.Store
]
opts = [strategy: :one_for_one, name: SmsUp.Supervisor]
Supervisor.start_link(children, opts)
end
end