aboutsummaryrefslogtreecommitdiff
path: root/etc/config
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-08 13:45:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-14 12:02:13 +0200
commite28ab8f48c891c03cf4b3a8ed88b98d38a561960 (patch)
tree0ae1dbb54e497fc797e5a73fcf3dd2dc487a5572 /etc/config
parenta31dfac365feef7838b01b1efd3fe058c89484d7 (diff)
Separate brep module configuration from Apache server configuration
Diffstat (limited to 'etc/config')
-rw-r--r--etc/config40
1 files changed, 0 insertions, 40 deletions
diff --git a/etc/config b/etc/config
deleted file mode 100644
index c7edd56..0000000
--- a/etc/config
+++ /dev/null
@@ -1,40 +0,0 @@
-# Basic settings (used in this file only)
-#
-SCRIPT_DIR=`dirname $0`
-CONFIG_DIR=`cd $SCRIPT_DIR; pwd`
-PROJECT_DIR="$CONFIG_DIR/.."
-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"
-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_ROOT="" # Value examples: "", "/foo", "/foo/bar".
-AP_ADMIN_EMAIL=admin@cppget.org
-AP_LOG_LEVEL=trace1
-AP_DB_HOST="$PG_WORKSPACE_DIR"
-AP_DB_PORT=$PG_PORT
-AP_LIB_DIRS="$LIB_DIRS"
-AP_MODULE_DIR="$PROJECT_DIR/brep"
-AP_WWW_DIR="$PROJECT_DIR/www"
-AP_CONFIG_DIR="$CONFIG_DIR"
-AP_LOG_DIR="$WORKSPACE_DIR/log/httpd"
-AP_WORKSPACE_DIR="$WORKSPACE_DIR/run/httpd"
-AP_REPOSITORY_DIR="$WORKSPACE_DIR/www"
-
-# brep-loader settings (used in loader)
-#
-LD_DB_HOST="$PG_WORKSPACE_DIR"
-LD_DB_PORT=$PG_PORT
-LD_REPOSITORIES="$CONFIG_DIR/repositories.conf"
-LD_LIB_DIRS="$LIB_DIRS"
-LD_EXE_DIRS="$PROJECT_DIR/loader"