moving restarter application into pleroma repo

This commit is contained in:
Alexander Strizhakov 2020-01-28 15:19:05 +03:00
commit 91ea3ed82c
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
4 changed files with 58 additions and 1 deletions

View file

@ -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