aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-08-11 20:11:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-08-23 13:50:52 +0200
commit24903813d11813f8ff9ac906d23b21e6c33b981d (patch)
treeb4a7c1cc6dc4c2e7a1588573c86e2b20aa763a41 /etc
parenta7e766e1aa77fff846d8426658befd9a01fe2861 (diff)
Parse http request parameters using CLI
Diffstat (limited to 'etc')
-rw-r--r--etc/config4
-rw-r--r--etc/search.conf3
2 files changed, 5 insertions, 2 deletions
diff --git a/etc/config b/etc/config
index 15e6063..70fe961 100644
--- a/etc/config
+++ b/etc/config
@@ -1,4 +1,5 @@
# Basic settings (used in this file only)
+#
SCRIPT_DIR=`dirname $0`
CONFIG_DIR=`cd $SCRIPT_DIR; pwd`
PROJECT_DIR="$CONFIG_DIR/.."
@@ -6,6 +7,7 @@ WORKSPACE_DIR="$PROJECT_DIR/var"
LIB_DIRS="$PROJECT_DIR/brep:$PROJECT_DIR/../libbutl/butl:$PROJECT_DIR/../libbpkg/bpkg"
# PostgreSQL settings (used in pgctl)
+#
PG_PORT=8432
PG_SCHEMA_DIR="$PROJECT_DIR/brep"
PG_DATA_DIR="$WORKSPACE_DIR/lib/pgsql"
@@ -13,6 +15,7 @@ PG_LOG_DIR="$WORKSPACE_DIR/log/pgsql"
PG_WORKSPACE_DIR="$WORKSPACE_DIR/run/pgsql"
# Apache settings (used in apachectl)
+#
AP_PORT=8080
AP_SERVER_NAME="cppget.org:$AP_PORT"
AP_ADMIN_EMAIL=admin@cppget.org
@@ -27,6 +30,7 @@ AP_LOG_DIR="$WORKSPACE_DIR/log/httpd"
AP_WORKSPACE_DIR="$WORKSPACE_DIR/run/httpd"
# brep-loader settings (used in loader)
+#
LD_DB_HOST="$PG_WORKSPACE_DIR"
LD_DB_PORT=$PG_PORT
LD_REPOSITORIES="$CONFIG_DIR/repositories.conf"
diff --git a/etc/search.conf b/etc/search.conf
index f742cda..be86098 100644
--- a/etc/search.conf
+++ b/etc/search.conf
@@ -4,6 +4,5 @@ verb 1
# brep::search options
-results-on-page 20
-
#ah 7
+results-on-page 20