summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathieu Lonjaret2008-08-21 18:53:41 +0200
committerMathieu Lonjaret2008-08-21 18:53:41 +0200
commitcdac68cf4c219b0266292c50d41bfae9441b255c (patch)
tree3fd6c9ec5f7a226c05c9547e9d00d5b2cf61871d
parent7602ed3b17c0a4ec99f980af00cde40b2fa5c27e (diff)
pglogd: added INSTALL
-rw-r--r--http/pglogd/HISTORY5
-rwxr-xr-xhttp/pglogd/INSTALL12
2 files changed, 16 insertions, 1 deletions
diff --git a/http/pglogd/HISTORY b/http/pglogd/HISTORY
index 6d6e2e1433..5cff28f2ed 100644
--- a/http/pglogd/HISTORY
+++ b/http/pglogd/HISTORY
@@ -1,4 +1,7 @@
-2008-08-19 Mathieu Lonjaret <lonjaret@sourcemage.org>
+2008-08-21: Mathieu Lonjaret <lejatorn@sourcemage.org>
+ * INSTALL: added, forgot it at last commit.
+
+2008-08-19 Mathieu Lonjaret <lejatorn@sourcemage.org>
* DETAILS, INSTALL, BUILD: setting it up to api2, cleaning up, and
update to 2.3. rm FINAL. fixes bug #12335
diff --git a/http/pglogd/INSTALL b/http/pglogd/INSTALL
new file mode 100755
index 0000000000..fae1c1074f
--- /dev/null
+++ b/http/pglogd/INSTALL
@@ -0,0 +1,12 @@
+cd ${SOURCE_DIRECTORY} &&
+install -m 0755 pglogd pglogctl \
+${INSTALL_ROOT}/usr/sbin/ &&
+sed -i -r 's:/var/log/pglogd.log:/var/log/pglogd/pglogd.log:' \
+pglogd.conf &&
+sed -i -r 's:/usr/site/logs/pglogd_overflow:/var/log/pglogd/pglogd_overflow:' \
+pglogd.conf &&
+install_config_file pglogd.conf \
+${INSTALL_ROOT}/etc/pglogd.conf &&
+mkdir -p ${INSTALL_ROOT}/usr/share/doc/pglogd/ &&
+install *.sql queries.txt $SCRIPT_DIRECTORY/pglogd.quick \
+${INSTALL_ROOT}/usr/share/doc/pglogd/