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"); } /**