summaryrefslogtreecommitdiff
path: root/restarter/lib/restarter.ex
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-02-06 15:04:21 +0300
committerrinpatch <rinpatch@sdf.org>2020-02-06 15:04:21 +0300
commit6769ecd948c8bd69bc9ba7af7d291142dc062af1 (patch)
tree5f9d3e268341e92acc1e4aed6d7f5741c400a273 /restarter/lib/restarter.ex
parent6722dade42d5f404c00386b0336d821028d58d7c (diff)
parent15cb1f6804fde19330a3c1f06eb24802c7503be3 (diff)
downloadpleroma-6769ecd948c8bd69bc9ba7af7d291142dc062af1.tar.gz
pleroma-6769ecd948c8bd69bc9ba7af7d291142dc062af1.zip
Merge branch 'develop' into fix/dymamic-docs
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