desktop/cherokee/gentoo-cherokee-1.2.99-chakra-customized.patch
2012-01-20 01:03:11 +00:00

30 lines
1.4 KiB
Diff

diff -Naur a/admin/configured.py.pre b/admin/configured.py.pre
--- a/admin/configured.py.pre 2012-01-20 00:58:20.098021174 +0000
+++ b/admin/configured.py.pre 2012-01-20 00:58:33.997967915 +0000
@@ -22,7 +22,7 @@
CHEROKEE_DATADIR = join (DATADIR, "cherokee")
CHEROKEE_DEPSDIR = join (DATADIR, "cherokee/deps")
CHEROKEE_CONFDIR = join (SYSCONFDIR, "cherokee")
-CHEROKEE_VAR_LOG = join (LOCALSTATE, "log")
+CHEROKEE_VAR_LOG = join (LOCALSTATE, "log/cherokee")
CHEROKEE_VAR_RUN = join (LOCALSTATE, "run")
CHEROKEE_VAR_LIB = join (LOCALSTATE, "lib/cherokee")
CHEROKEE_RRD_DIR = join (LOCALSTATE, "lib/cherokee/graphs")
diff -Naur a/cherokee.conf.sample.pre b/cherokee.conf.sample.pre
--- a/cherokee.conf.sample.pre 2012-01-20 00:58:20.064687465 +0000
+++ b/cherokee.conf.sample.pre 2012-01-20 00:58:45.677878184 +0000
@@ -27,11 +27,11 @@
vserver!1!logger = combined
vserver!1!logger!access!type = file
-vserver!1!logger!access!filename = %localstatedir%/log/cherokee.access
+vserver!1!logger!access!filename = %localstatedir%/log/cherokee/cherokee.access
vserver!1!logger!access!buffsize = 16384
vserver!1!error_writer!type = file
-vserver!1!error_writer!filename = %localstatedir%/log/cherokee.error
+vserver!1!error_writer!filename = %localstatedir%/log/cherokee/cherokee.error
vserver!1!rule!1!match = default
vserver!1!rule!1!handler = common