diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-01-28 15:19:05 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-01-28 15:19:05 +0300 |
commit | 91ea3ed82cc29f02ae8eec94e4e4ced325a7e008 (patch) | |
tree | c97c4f953b4f7dc790452024de7f2468c6e101fb /restarter/lib/restarter.ex | |
parent | 7c6e5c541de808957be8a1948fa7a20eba8734df (diff) | |
download | pleroma-91ea3ed82cc29f02ae8eec94e4e4ced325a7e008.tar.gz pleroma-91ea3ed82cc29f02ae8eec94e4e4ced325a7e008.zip |
moving restarter application into pleroma repo
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 |