summaryrefslogtreecommitdiff
path: root/priv/templates/sup.erl
diff options
context:
space:
mode:
Diffstat (limited to 'priv/templates/sup.erl')
-rw-r--r--priv/templates/sup.erl7
1 files changed, 4 insertions, 3 deletions
diff --git a/priv/templates/sup.erl b/priv/templates/sup.erl
index 0db7155..020021c 100644
--- a/priv/templates/sup.erl
+++ b/priv/templates/sup.erl
@@ -1,9 +1,10 @@
+{{=@@ @@=}}
%%%-------------------------------------------------------------------
-%% @doc {{name}} top level supervisor.
+%% @doc @@name@@ top level supervisor.
%% @end
%%%-------------------------------------------------------------------
--module({{name}}_sup).
+-module(@@name@@_sup).
-behaviour(supervisor).
@@ -31,7 +32,7 @@ start_link() ->
%% Before OTP 18 tuples must be used to specify a child. e.g.
%% Child :: {Id,StartFunc,Restart,Shutdown,Type,Modules}
init([]) ->
- {ok, { {one_for_all, 0, 1}, []} }.
+ {ok, {{one_for_all, 0, 1}, []}}.
%%====================================================================
%% Internal functions