aboutsummaryrefslogtreecommitdiff
path: root/restarter/lib/restarter.ex
diff options
context:
space:
mode:
Diffstat (limited to 'restarter/lib/restarter.ex')
-rw-r--r--restarter/lib/restarter.ex8
1 files changed, 8 insertions, 0 deletions
diff --git a/restarter/lib/restarter.ex b/restarter/lib/restarter.ex
new file mode 100644
index 000000000..eadd86f89
--- /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