moving restarter application into pleroma repo
[akkoma] / restarter / lib / restarter.ex
diff --git a/restarter/lib/restarter.ex b/restarter/lib/restarter.ex
new file mode 100644 (file)
index 0000000..eadd86f
--- /dev/null
@@ -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