From 3a4773c3c2bd0bbef244eb519b07208da9108e49 Mon Sep 17 00:00:00 2001 From: dcc Date: Sat, 2 Sep 2023 00:52:52 -0700 Subject: First --- restarter/lib/restarter.ex | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 restarter/lib/restarter.ex (limited to 'restarter/lib/restarter.ex') diff --git a/restarter/lib/restarter.ex b/restarter/lib/restarter.ex new file mode 100644 index 0000000..eadd86f --- /dev/null +++ b/restarter/lib/restarter.ex @@ -0,0 +1,8 @@ +defmodule Restarter do + use Application + + def start(_, _) do + opts = [strategy: :one_for_one, name: Restarter.Supervisor] + Supervisor.start_link([Restarter.Pleroma], opts) + end +end -- cgit v1.2.3