020-config_and_pid-path.patch 558 B

12345678910111213
  1. --- a/src/main.c
  2. +++ b/src/main.c
  3. @@ -326,8 +326,8 @@ static void initialize_config_defaults (
  4. conf->errorpages = NULL;
  5. conf->stathost = safestrdup (TINYPROXY_STATHOST);
  6. conf->idletimeout = MAX_IDLE_TIME;
  7. - conf->logf_name = safestrdup (LOCALSTATEDIR "/log/tinyproxy/tinyproxy.log");
  8. - conf->pidpath = safestrdup (LOCALSTATEDIR "/run/tinyproxy/tinyproxy.pid");
  9. + conf->logf_name = safestrdup (LOCALSTATEDIR "/log/tinyproxy.log");
  10. + conf->pidpath = safestrdup (LOCALSTATEDIR "/tinyproxy.pid");
  11. }
  12. /**