diff options
Diffstat (limited to 'src/fib_sup.erl')
-rw-r--r-- | src/fib_sup.erl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/fib_sup.erl b/src/fib_sup.erl new file mode 100644 index 0000000..06efb9d --- /dev/null +++ b/src/fib_sup.erl @@ -0,0 +1,12 @@ +-module(fib_sup). +-behaviour(supervisor). + +-export([start_link/0]). +-export([init/1]). + +start_link() -> + supervisor:start_link({local, ?MODULE}, ?MODULE, []). + +init([]) -> + Procs = [], + {ok, {{one_for_one, 1, 5}, Procs}}. |