diff -r 35a02ba83af2 -r 51396e0836cf plugins/mod_posix.lua --- a/plugins/mod_posix.lua Tue Mar 21 12:06:52 2017 +0100 +++ b/plugins/mod_posix.lua Tue Mar 21 12:08:29 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+";