diff options
author | Kim Alvefur <zash@zash.se> | 2017-03-21 12:08:29 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-03-21 12:08:29 +0100 |
commit | 593b5348efee34f9db46f20eb95415dbc4247e5b (patch) | |
tree | 5abc0bcf478adf0a976e8b67bfc1c2316dd5c84f | |
parent | c2c4f7fbc44b9df2873e62d7f9745ba864388e38 (diff) | |
download | prosody-593b5348efee34f9db46f20eb95415dbc4247e5b.tar.gz prosody-593b5348efee34f9db46f20eb95415dbc4247e5b.zip |
mod_posix: Use path variant of config API for pidfile option
-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 0a6845ac..2103071a 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+"; |