diff options
author | Michael Adam <obnox@samba.org> | 2010-01-13 00:30:50 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-01-13 00:30:50 +0100 |
commit | fa0c4963e9097ca5483f6d2674235a7bc8635253 (patch) | |
tree | f1840b7de25f8b640c01c5795201191edeaae213 | |
parent | 9fec507daf3de334edacb279bd4eafaddaeab491 (diff) | |
download | tinyproxy-fa0c4963e9097ca5483f6d2674235a7bc8635253.tar.gz tinyproxy-fa0c4963e9097ca5483f6d2674235a7bc8635253.zip |
conf: add a default for PidFile: LOCALSTATEDIR/run/tinyproxy.pid
Michael
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"); } /** |