summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-01-13 00:30:50 +0100
committerMichael Adam <obnox@samba.org>2010-01-13 00:30:50 +0100
commitfa0c4963e9097ca5483f6d2674235a7bc8635253 (patch)
treef1840b7de25f8b640c01c5795201191edeaae213 /src/main.c
parent9fec507daf3de334edacb279bd4eafaddaeab491 (diff)
downloadtinyproxy-fa0c4963e9097ca5483f6d2674235a7bc8635253.tar.gz
tinyproxy-fa0c4963e9097ca5483f6d2674235a7bc8635253.zip
conf: add a default for PidFile: LOCALSTATEDIR/run/tinyproxy.pid
Michael
Diffstat (limited to '')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
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");
}
/**