From f55de943143ececf20d2014b4b9d2ab94ad25e22 Mon Sep 17 00:00:00 2001 From: HAMANO Tsukasa Date: Mon, 9 Mar 2015 20:28:55 +0900 Subject: [PATCH] change mod_offline restart type --- src/mod_offline.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_offline.erl b/src/mod_offline.erl index b0582bc20..ed3457616 100644 --- a/src/mod_offline.erl +++ b/src/mod_offline.erl @@ -92,7 +92,7 @@ start_link(Host, Opts) -> start(Host, Opts) -> Proc = gen_mod:get_module_proc(Host, ?PROCNAME), ChildSpec = {Proc, {?MODULE, start_link, [Host, Opts]}, - temporary, 1000, worker, [?MODULE]}, + transient, 1000, worker, [?MODULE]}, supervisor:start_child(ejabberd_sup, ChildSpec). stop(Host) ->