Add systemd notification on listener available

This commit is contained in:
bluepython508
2024-09-26 08:47:39 +01:00
parent 4958944cb8
commit 66cb85ec1d
5 changed files with 8 additions and 2 deletions

View File

@@ -22,6 +22,7 @@ defmodule Frajtano.Supervisor do
Frajtano.Agent,
{Task.Supervisor, name: Frajtano.ClientSupervisor},
{Frajtano.Listener, [Application.fetch_env!(:frajtano, :listen_path)]},
:systemd.ready(),
]
Supervisor.init(children, strategy: :one_for_one)