1 2 3 4 5 6 7 8 9 10 11 12 13 14
defmodule Mailchimp do use Application def start(_type, _args) do import Supervisor.Spec, warn: false children = [ worker(Mailchimp.Config, []), ] opts = [strategy: :one_for_one, name: Aliver.Supervisor] Supervisor.start_link(children, opts) end end