defmodule TruFace do use Application def start(_type, _args) do import Supervisor.Spec, warn: false children = [ worker(TruFace.Workers.Detective, []), ] opts = [strategy: :one_for_one, name: TruFace.Supervisor] Supervisor.start_link(children, opts) end end