Merge pull request #467 from hamano/mod_offline_restart

change mod_offline restart type
This commit is contained in:
badlop 2015-03-09 19:26:19 +01:00
commit 0a88255ef6
1 changed files with 1 additions and 1 deletions

View File

@ -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) ->