blob: 847dd9864908f8f2cc620801265047feff2cce59 (
plain)
1
2
3
4
5
6
7
8
9
|
defmodule Chessh.Application do
use Application
def start(_, _) do
children = [Chessh.Repo, Chessh.SSH.Daemon]
opts = [strategy: :one_for_one, name: Chessh.Supervisor]
Supervisor.start_link(children, opts)
end
end
|