defmodule TestSatellitex.Application do @moduledoc false use Application def start(_type, _args) do children = [ Supervisor.child_spec(%{id: Server1, start: {Launchpad, :start_link, [%Satellite.Configuration{router: Router}]}}, type: :worker) ] opts = [strategy: :one_for_one, name: TestSatellitex.Supervisor] Supervisor.start_link(children, opts) end end