Software /
code /
prosody
Diff
plugins/mod_posix.lua @ 7999:980606856882
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 23 Mar 2017 01:30:58 +0100 |
parent | 7735:1502ec4f3cbe |
parent | 7992:51396e0836cf |
child | 8015:ecb110f45c92 |
line wrap: on
line diff
--- a/plugins/mod_posix.lua Tue Mar 21 04:41:40 2017 +0100 +++ b/plugins/mod_posix.lua Thu Mar 23 01:30:58 2017 +0100 @@ -80,7 +80,7 @@ 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+";