conf: add a default for PidFile: LOCALSTATEDIR/run/tinyproxy.pid

Michael
This commit is contained in:
Michael Adam 2010-01-13 00:30:50 +01:00
parent 9fec507daf
commit fa0c4963e9

View File

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