aboutsummaryrefslogtreecommitdiff
path: root/lib/octonetcat/supervisor.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/octonetcat/supervisor.ex')
-rw-r--r--lib/octonetcat/supervisor.ex4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/octonetcat/supervisor.ex b/lib/octonetcat/supervisor.ex
index e66b4e7..01029cd 100644
--- a/lib/octonetcat/supervisor.ex
+++ b/lib/octonetcat/supervisor.ex
@@ -10,7 +10,9 @@ defmodule Octonetcat.Supervisor do
end
def init(_) do
- children = []
+ children = [
+ worker(Task, [Octonetcat.Accepter, :accept, []])
+ ]
opts = [strategy: :one_for_one]
supervise(children, opts)