summaryrefslogtreecommitdiff
path: root/priv/templates/simplesup.erl
diff options
context:
space:
mode:
Diffstat (limited to 'priv/templates/simplesup.erl')
-rw-r--r--priv/templates/simplesup.erl37
1 files changed, 0 insertions, 37 deletions
diff --git a/priv/templates/simplesup.erl b/priv/templates/simplesup.erl
deleted file mode 100644
index 0e3a1de..0000000
--- a/priv/templates/simplesup.erl
+++ /dev/null
@@ -1,37 +0,0 @@
-%%%-------------------------------------------------------------------
-%% @copyright {{copyright_holder}} ({{copyright_year}})
-%% @author {{author_name}} <{{author_email}}>
-%% @doc {{supid}} supervisor
-%% @end
-%%%-------------------------------------------------------------------
-
--module({{appid}}_{{supid}}_sup).
-
--behaviour(supervisor).
-
-%% API
--export([start_link/0]).
-
-%% Supervisor callbacks
--export([init/1]).
-
--define(SERVER, ?MODULE).
-
-%%====================================================================
-%% API functions
-%%====================================================================
-
-start_link() ->
- supervisor:start_link({local, ?SERVER}, ?MODULE, []).
-
-%%====================================================================
-%% Supervisor callbacks
-%%====================================================================
-
-%% Child :: {Id,StartFunc,Restart,Shutdown,Type,Modules}
-init([]) ->
- {ok, { {one_for_all, 0, 1}, []} }.
-
-%%====================================================================
-%% Internal functions
-%%====================================================================