diff options
author | Kim Alvefur <zash@zash.se> | 2012-11-11 23:44:56 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-11-11 23:44:56 +0100 |
commit | 3e7cd680929dd2c391da21a940a4fc9e1b5663be (patch) | |
tree | 6367ad48930ec474c7797b1f53089e0e52c684a2 /plugins/mod_posix.lua | |
parent | c70a761d6492e2af63c0fc1ddcb55fa625839908 (diff) | |
download | prosody-3e7cd680929dd2c391da21a940a4fc9e1b5663be.tar.gz prosody-3e7cd680929dd2c391da21a940a4fc9e1b5663be.zip |
mod_posix: Log a message explaining that we are detaching from the console
Diffstat (limited to 'plugins/mod_posix.lua')
-rw-r--r-- | plugins/mod_posix.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua index ed64fc34..e871e5cf 100644 --- a/plugins/mod_posix.lua +++ b/plugins/mod_posix.lua @@ -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 |