lib/runtime/application.ex
defmodule Pfaker.Runtime.Application do
use Application
def start(_type, _args) do
children = [
{
Pfaker.Runtime.Server, []
}
]
options = [
name: Pfaker.Runtime.Supervisor,
strategy: :one_for_one
]
Supervisor.start_link(children, options)
end
end