Files
ExMine/lib/ex_mine/application.ex

19 lines
310 B
Elixir

defmodule ExMine.Application do
use Application
def start(_type, _args) do
import Supervisor.Spec
children = [
worker(ExMine.Server, [])
]
options = [
name: ExMine.Supervisor,
strategy: :simple_one_for_one,
]
Supervisor.start_link(children, options)
end
end