projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26f5fc0
)
mod_posix: Daemonize by default only when installed
author
Kim Alvefur
<zash@zash.se>
Sun, 26 Jan 2014 17:35:03 +0000
(18:35 +0100)
committer
Kim Alvefur
<zash@zash.se>
Sun, 26 Jan 2014 17:35:03 +0000
(18:35 +0100)
plugins/mod_posix.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_posix.lua
b/plugins/mod_posix.lua
index 7a6ccd9478ba13fbb0b4c292914b4c044f5ef64c..69542c9690ee405f725c9284fcfffcc91dd10422 100644
(file)
--- a/
plugins/mod_posix.lua
+++ b/
plugins/mod_posix.lua
@@
-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;