mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
mod_posix: Log a message explaining that we are detaching from the console
This commit is contained in:
parent
acbda76a75
commit
8f3a73f5c5
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ end
|
|||
|
||||
if daemonize then
|
||||
local function daemonize_server()
|
||||
module:log("info", "Prosody is about to detach from the console, disabling further console output");
|
||||
remove_log_sinks();
|
||||
local ok, ret = pposix.daemonize();
|
||||
if not ok then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue