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 | a026db251db83fe1d9725886dec396cb73f07874 (patch) | |
tree | 5abc0bcf478adf0a976e8b67bfc1c2316dd5c84f /plugins | |
parent | db1c5183b1690f9b0a3357215641dbbcdda4b5f9 (diff) | |
download | prosody-a026db251db83fe1d9725886dec396cb73f07874.tar.gz prosody-a026db251db83fe1d9725886dec396cb73f07874.zip |
mod_posix: Use path variant of config API for pidfile option
Diffstat (limited to 'plugins')
-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+"; |