packages/net/tinyproxy/patches/020-config_and_pid-path.patch

16 lines
640 B
Diff
Raw Normal View History

diff -Nur a/src/main.c b/src/main.c
--- a/src/main.c 2010-07-17 11:57:25.000000000 +0200
+++ b/src/main.c 2010-07-17 11:58:52.000000000 +0200
@@ -326,8 +326,8 @@
conf->errorpages = NULL;
conf->stathost = safestrdup (TINYPROXY_STATHOST);
conf->idletimeout = MAX_IDLE_TIME;
- conf->logf_name = safestrdup (LOCALSTATEDIR "/log/tinyproxy/tinyproxy.log");
- conf->pidpath = safestrdup (LOCALSTATEDIR "/run/tinyproxy/tinyproxy.pid");
+ conf->logf_name = safestrdup (LOCALSTATEDIR "/log/tinyproxy.log");
+ conf->pidpath = safestrdup (LOCALSTATEDIR "/tinyproxy.pid");
}
/**