renaming/deleting

:wq
This commit is contained in:
2025-12-12 23:21:00 -08:00
parent ff257ae976
commit cbfc496057
8 changed files with 48 additions and 561 deletions
+33
View File
@@ -0,0 +1,33 @@
-module(fd_httpd).
-vsn("0.1.0").
-behaviour(supervisor).
-author("Peter Harpending <peterharpending@qpq.swiss>").
-copyright("Peter Harpending <peterharpending@qpq.swiss>").
-license("BSD-2-Clause-FreeBSD").
-export([start_link/0]).
-export([init/1]).
-spec start_link() -> {ok, pid()}.
%% @private
%% This supervisor's own start function.
start_link() ->
supervisor:start_link({local, ?MODULE}, ?MODULE, []).
-spec init([]) -> {ok, {supervisor:sup_flags(), [supervisor:child_spec()]}}.
%% @private
%% The OTP init/1 function.
init([]) ->
RestartStrategy = {one_for_one, 1, 60},
Clerks = {fd_httpd_clerks,
{fd_httpd_clerks, start_link, []},
permanent,
5000,
supervisor,
[fd_httpd_clerks]},
Children = [Clerks],
{ok, {RestartStrategy, Children}}.