Skip to content

Instantly share code, notes, and snippets.

@KamilLelonek
Created September 13, 2018 09:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KamilLelonek/c093f5e2776fbc97db2da2faae2c5d5c to your computer and use it in GitHub Desktop.
Save KamilLelonek/c093f5e2776fbc97db2da2faae2c5d5c to your computer and use it in GitHub Desktop.
defmodule MinimalServer.Application do
use Application
def start(_type, _args),
do: Supervisor.start_link(children(), opts())
defp children do
[]
end
defp opts do
[
strategy: :one_for_one,
name: MinimalServer.Supervisor
]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment