From fa0c4963e9097ca5483f6d2674235a7bc8635253 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 13 Jan 2010 00:30:50 +0100 Subject: conf: add a default for PidFile: LOCALSTATEDIR/run/tinyproxy.pid Michael --- src/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 22cdf95..e141439 100644 --- a/src/main.c +++ b/src/main.c @@ -322,6 +322,7 @@ static void initialize_config_defaults (struct config_s *conf) conf->stathost = safestrdup (TINYPROXY_STATHOST); conf->idletimeout = MAX_IDLE_TIME; conf->logf_name = safestrdup (LOCALSTATEDIR "/log/tinyproxy.log"); + conf->pidpath = safestrdup (LOCALSTATEDIR "/run/tinyproxy.pid"); } /** -- cgit v1.2.3