aboutsummaryrefslogtreecommitdiffstats
path: root/src/mysqlerl_app.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mysqlerl_app.erl')
-rw-r--r--src/mysqlerl_app.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mysqlerl_app.erl b/src/mysqlerl_app.erl
index a37e020..78aa202 100644
--- a/src/mysqlerl_app.erl
+++ b/src/mysqlerl_app.erl
@@ -6,8 +6,8 @@
%% Behavior callbacks.
-export([start/2, stop/1]).
-start(normal, []) ->
- mysqlerl_sup:start_link().
+start(normal, Name) ->
+ supervisor:start_link({local, mysqlerl_sup}, mysqlerl_sup, [Name]).
stop([]) ->
ok.