feat(agent): otp app scaffold with slipstream + toml deps

This commit is contained in:
Carsten 2026-04-21 22:05:49 +02:00
parent 9e55eae6a1
commit 70923eebfa
9 changed files with 140 additions and 0 deletions

View file

@ -0,0 +1,20 @@
defmodule ProxmoxAgent.Application do
# See https://hexdocs.pm/elixir/Application.html
# for more information on OTP Applications
@moduledoc false
use Application
@impl true
def start(_type, _args) do
children = [
# Starts a worker by calling: ProxmoxAgent.Worker.start_link(arg)
# {ProxmoxAgent.Worker, arg}
]
# See https://hexdocs.pm/elixir/Supervisor.html
# for other strategies and supported options
opts = [strategy: :one_for_one, name: ProxmoxAgent.Supervisor]
Supervisor.start_link(children, opts)
end
end