diff --git a/config/config.exs b/config/config.exs
index f2876a0..4bb5f83 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -1,4 +1,4 @@
-import Mix.Config
+import Config
 
 port = System.get_env("PORT", "8080")
 port = String.to_integer(port)
@@ -14,4 +14,3 @@ config :httparrot,
   https_port: ssl_port,
   unix_socket: unix_socket,
   socket_path: System.get_env("SOCKET_PATH", "httparrot.sock")
-
diff --git a/lib/httparrot.ex b/lib/httparrot.ex
index 5f4245c..bab8739 100644
--- a/lib/httparrot.ex
+++ b/lib/httparrot.ex
@@ -7,7 +7,7 @@ defmodule HTTParrot do
   end
 
   def init(_) do
-    supervise([], strategy: :simple_one_for_one)
+    Supervisor.start_link([], [strategy: :one_for_one])
   end
 
   def start(_type, _args) do