root/cherokee/trunk/constants.h.pre

Revision 3903, 0.8 kB (checked in by alo, 3 months ago)

The RRD image cache directory is not longer inside the RRD database
directory. Instead, it will be created in $TMP (wherever it is,
depending on the system). Since the new implementation (render_rrd)
manages it as a real cache, it does not make sense to keep the images
files in a safe location. Actually, they can be disposed as soon as
cherokee-admin is closed. This patch should fix most of the set up
issues that some distributions have suffered during our previous two
releases. Thanks to Leonel Lunez for following up on this problem!

Line 
1 #ifndef CHEROKEE_COMPILATION_CONSTANTS_H
2 #define CHEROKEE_COMPILATION_CONSTANTS_H
3
4 # define CHEROKEE_COMPILATION
5 # define PCRE_STATIC
6
7 # define CHEROKEE_PLUGINDIR   "%libdir%/cherokee"
8 # define CHEROKEE_DEPSDIR     "%datadir%/cherokee/deps"
9 # define CHEROKEE_DATADIR     "%datadir%/cherokee"
10 # define CHEROKEE_DOCDIR      "%docdir%"
11
12 # define CHEROKEE_VAR_RUN     "%localstatedir%/run"
13 # define CHEROKEE_CONFDIR     "%sysconfdir%/cherokee"
14 # define CHEROKEE_SERVER      "%prefix%/sbin/cherokee"
15 # define CHEROKEE_WORKER      "%prefix%/sbin/cherokee-worker"
16 # define CHEROKEE_ICONSDIR    "%prefix%/share/cherokee/icons"
17 # define CHEROKEE_THEMEDIR    "%prefix%/share/cherokee/themes"
18 # define CHEROKEE_PANIC_PATH  "%prefix%/bin/cherokee-panic"
19 # define CHEROKEE_RRD_DIR     "%localstatedir%/lib/cherokee/graphs"
20
21 #endif
Note: See TracBrowser for help on using the browser.