mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
mod_posix: Daemonize by default only when installed
This commit is contained in:
parent
9498616c81
commit
4896e7ca7e
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ function syslog_sink_maker(config)
|
|||
end
|
||||
require "core.loggingmanager".register_sink_type("syslog", syslog_sink_maker);
|
||||
|
||||
local daemonize = module:get_option("daemonize");
|
||||
local daemonize = module:get_option("daemonize", prosody.installed);
|
||||
if daemonize == nil then
|
||||
local no_daemonize = module:get_option("no_daemonize"); --COMPAT w/ 0.5
|
||||
daemonize = not no_daemonize;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue