diff options
author | Kim Alvefur <zash@zash.se> | 2017-03-23 01:30:58 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-03-23 01:30:58 +0100 |
commit | 761779fef974a25ec1d96f93941cc54bb40ae0af (patch) | |
tree | 8907b93b95ab3e10a7e3fc7aaef48a769cd190b0 /plugins/mod_posix.lua | |
parent | 2880ac5ebadc2b3eb7f4b05f80365c4847ee4b1d (diff) | |
parent | 886603192223eeb71f83997c6958bf120cb1c530 (diff) | |
download | prosody-761779fef974a25ec1d96f93941cc54bb40ae0af.tar.gz prosody-761779fef974a25ec1d96f93941cc54bb40ae0af.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_posix.lua')
-rw-r--r-- | plugins/mod_posix.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua index 122f550a..46151117 100644 --- a/plugins/mod_posix.lua +++ b/plugins/mod_posix.lua @@ -80,7 +80,7 @@ local function write_pidfile() if pidfile_handle then remove_pidfile(); end - pidfile = module:get_option_string("pidfile"); + pidfile = module:get_option_path("pidfile", nil, "data"); if pidfile then local err; local mode = stat(pidfile) and "r+" or "w+"; |