From a026db251db83fe1d9725886dec396cb73f07874 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 21 Mar 2017 12:08:29 +0100 Subject: mod_posix: Use path variant of config API for pidfile option --- plugins/mod_posix.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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+"; -- cgit v1.2.3