packages/net/tinyproxy/patches/020-config_and_pid-path.patch
florian 5cf435ad03 [package] tinyproxy: fix creation of pid and log (#7641)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-31 11:39:13 +00:00

16 lines
640 B
Diff

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