summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Kreen2010-11-10 15:46:46 +0000
committerMarko Kreen2010-11-10 15:46:46 +0000
commit30d9122d6e1adff03dea69cf98a4d5dc6077b5d7 (patch)
treee20620168d0f639d9eb69e68795880d38adf2d8b
parenta528c3e57bbc0ec7a6c27dc8337416aa4bf138c8 (diff)
pgqd: tilde expansion for pidfile and logfile
Patch by Asko Tiidumaa
m---------lib0
-rw-r--r--sql/ticker/pgqd.c4
2 files changed, 2 insertions, 2 deletions
diff --git a/lib b/lib
-Subproject ad5673f3e809df84546a770343051cc3d800a97
+Subproject 5935184e0df6a2015ec3ed3ea74de1263f4e732
diff --git a/sql/ticker/pgqd.c b/sql/ticker/pgqd.c
index 750f6f02..f9225cac 100644
--- a/sql/ticker/pgqd.c
+++ b/sql/ticker/pgqd.c
@@ -44,8 +44,8 @@ static int got_sigint;
#define CF_REL_BASE struct Config
static const struct CfKey conf_params[] = {
- { "logfile", CF_ABS_STR(cf_logfile) },
- { "pidfile", CF_REL_STR(pidfile) },
+ { "logfile", CF_ABS_FILENAME(cf_logfile) },
+ { "pidfile", CF_REL_FILENAME(pidfile) },
{ "initial_database", CF_REL_STR(initial_database), "template1" },
{ "base_connstr", CF_REL_STR(base_connstr), "" },
{ "database_list", CF_REL_STR(database_list) },