diff options
author | Brian Cully <bjc@kublai.com> | 2012-02-06 20:15:48 -0500 |
---|---|---|
committer | Brian Cully <github.20.shmit@spamgourmet.com> | 2012-02-06 20:15:48 -0500 |
commit | 10b824963ff7b0b012e6b85c8b3f07904c473fd1 (patch) | |
tree | 344e00f788ea24c273f841636bdf92f354b40e2c /src/mysqlerl_sup.erl | |
parent | 591169f86718117151bf9eb5960ba58e2a27a5bb (diff) | |
download | mysqlerl-10b824963ff7b0b012e6b85c8b3f07904c473fd1.tar.gz mysqlerl-10b824963ff7b0b012e6b85c8b3f07904c473fd1.zip |
Remove stupid lib directory
Diffstat (limited to 'src/mysqlerl_sup.erl')
-rw-r--r-- | src/mysqlerl_sup.erl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mysqlerl_sup.erl b/src/mysqlerl_sup.erl new file mode 100644 index 0000000..1ebfbf2 --- /dev/null +++ b/src/mysqlerl_sup.erl @@ -0,0 +1,16 @@ +-module(mysqlerl_sup). +-author('bjc@kublai.com'). + +-behavior(supervisor). + +-export([start_link/0, init/1]). + +start_link() -> + supervisor:start_link({local, ?MODULE}, ?MODULE, []). + +init([]) -> + ConnectionSup = {mysqlerl_connection_sup, + {mysqlerl_connection_sup, start_link, []}, + permanent, infinity, supervisor, + [mysqlerl_connection_sup]}, + {ok, {{one_for_one, 10, 5}, [ConnectionSup]}}. |