# HG changeset patch # User Kim Alvefur # Date 1490094509 -3600 # Node ID 51396e0836cf0122b264ce279e73db13413b60d8 # Parent 35a02ba83af218a3acbdb34b07d714fed844145b mod_posix: Use path variant of config API for pidfile option 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+";