summaryrefslogtreecommitdiff
path: root/priv/templates
diff options
context:
space:
mode:
Diffstat (limited to 'priv/templates')
-rw-r--r--priv/templates/sup.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/priv/templates/sup.erl b/priv/templates/sup.erl
index a2e7209..e2fa05e 100644
--- a/priv/templates/sup.erl
+++ b/priv/templates/sup.erl
@@ -26,7 +26,8 @@ start_link() ->
%% Supervisor callbacks
%%====================================================================
-%% Child :: {Id,StartFunc,Restart,Shutdown,Type,Modules}
+%% Child :: #{id => Id, start => {M, F, A}}
+%% Optional keys are restart, shutdown, type, modules.
init([]) ->
{ok, { {one_for_all, 0, 1}, []} }.