diff options
author | rinpatch <rinpatch@sdf.org> | 2020-03-08 10:38:35 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-03-08 10:38:35 +0000 |
commit | e8493431bfc16977e43715bf8bdb09ac46580028 (patch) | |
tree | 2e1a0068583ca62870a15590c4ccba237999f51a /restarter/lib/restarter.ex | |
parent | 42f76306e7fe69fc51be00285a4fef8569f54989 (diff) | |
parent | e7c49d51d724680c1f19888ea409687733753c7b (diff) | |
download | pleroma-2.0.0.tar.gz |
Merge branch 'release/2.0.0' into 'stable'v2.0.0
Release/2.0.0
See merge request pleroma/pleroma!2273
Diffstat (limited to 'restarter/lib/restarter.ex')
-rw-r--r-- | restarter/lib/restarter.ex | 8 |
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 |