summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/hosting/server/proxy-start
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/hosting/server/proxy-start')
-rwxr-xr-xsca-cpp/trunk/hosting/server/proxy-start11
1 files changed, 11 insertions, 0 deletions
diff --git a/sca-cpp/trunk/hosting/server/proxy-start b/sca-cpp/trunk/hosting/server/proxy-start
index f06de9fc01..6ec55767c1 100755
--- a/sca-cpp/trunk/hosting/server/proxy-start
+++ b/sca-cpp/trunk/hosting/server/proxy-start
@@ -35,6 +35,17 @@ fi
../../components/cache/memcached-start tmp 11211
../../components/cache/memcached-start tmp 11212
+# Configure database
+../../components/sqldb/pgsql-conf tmp
+
+# Start database
+../../components/sqldb/pgsql-start tmp
+
+# Load database tables
+./drop-tables 1>/dev/null 2>/dev/null
+./create-tables >/dev/null
+./load-tables >/dev/null
+
# Configure server
../../modules/http/httpd-conf tmp www.example.com 9090 htdocs
../../modules/http/httpd-event-conf tmp