Software /
code /
prosody
Changeset
5177:add9ad38208e
mod_posix: Log a message explaining that we are detaching from the console
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 11 Nov 2012 23:44:56 +0100 |
parents | 5176:7d0a8b255a37 |
children | 5178:fa6d61f2fe20 5179:f3662fea95d9 |
files | plugins/mod_posix.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_posix.lua Sat Nov 10 23:41:53 2012 +0100 +++ b/plugins/mod_posix.lua Sun Nov 11 23:44:56 2012 +0100 @@ -145,6 +145,7 @@ 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