defmodule Ngrok do @moduledoc """ By including this application, an Ngrok process will be started when your application starts and stopped when your application stops """ use Application def start(_type, _args) do import Supervisor.Spec, warn: false children = [ worker(Ngrok.Executable, []), worker(Ngrok.Settings, []), ] opts = [strategy: :rest_for_one, name: Ngrok.Supervisor] Supervisor.start_link(children, opts) end end