1 2 3 4 5 6 7 8 9 10 11 12 13
-module(mysqlerl_app). -author('bjc@kublai.com'). -behavior(application). %% Behavior callbacks. -export([start/2, stop/1]). start(normal, Name) -> supervisor:start_link({local, mysqlerl_sup}, mysqlerl_sup, [Name]). stop([]) -> ok.