mirror of
https://github.com/processone/ejabberd.git
synced 2024-09-29 14:37:44 +02:00
35 lines
1.1 KiB
Erlang
35 lines
1.1 KiB
Erlang
|
%%%-------------------------------------------------------------------
|
||
|
%%% File : cache_tab_sup.erl
|
||
|
%%% Author : Evgeniy Khramtsov <ekhramtsov@process-one.net>
|
||
|
%%% Description :
|
||
|
%%%
|
||
|
%%% Created : 30 Aug 2010 by Evgeniy Khramtsov <ekhramtsov@process-one.net>
|
||
|
%%%-------------------------------------------------------------------
|
||
|
-module(cache_tab_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
|
||
|
%%====================================================================
|
||
|
init([]) ->
|
||
|
{ok, {{one_for_one,10,1}, []}}.
|
||
|
|
||
|
%%====================================================================
|
||
|
%% Internal functions
|
||
|
%%====================================================================
|