diff options
author | 2025-05-28 22:03:05 +0100 | |
---|---|---|
committer | 2025-05-28 22:03:05 +0100 | |
commit | 3ad8be69ce21b0e03046e31eca348b112e377e2e (patch) | |
tree | 12ca5a665f191bf849adb8531fcd4ce24cce44fa /lib | |
parent | Add PSL files to gitignore (diff) |
Update project as application
Diffstat (limited to 'lib')
-rw-r--r-- | lib/lithium.ex | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/lib/lithium.ex b/lib/lithium.ex index f8bc2d2..b42c45a 100644 --- a/lib/lithium.ex +++ b/lib/lithium.ex @@ -1,18 +1,17 @@ defmodule Lithium do + use Application + @moduledoc """ - Documentation for `Lithium`. + Lithium is a mail authentication daemon. """ - @doc """ - Hello world. - - ## Examples + @impl true + def start(_start_type, _start_args) do + children = [ + {Lithium.Util.PublicSuffix, []} + ] - iex> Lithium.hello() - :world - - """ - def hello do - :world + opts = [strategy: :one_for_one, name: Lithium.Supervisor] + Supervisor.start_link(children, opts) end end |