projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
moving restarter application into pleroma repo
[akkoma]
/
restarter
/
lib
/
restarter.ex
diff --git a/restarter/lib/restarter.ex
b/restarter/lib/restarter.ex
new file mode 100644
(file)
index 0000000..
eadd86f
--- /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