summaryrefslogtreecommitdiff
path: root/devgerrit/script/startup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'devgerrit/script/startup.sh')
-rwxr-xr-xdevgerrit/script/startup.sh30
1 files changed, 30 insertions, 0 deletions
diff --git a/devgerrit/script/startup.sh b/devgerrit/script/startup.sh
new file mode 100755
index 0000000..b25d27b
--- /dev/null
+++ b/devgerrit/script/startup.sh
@@ -0,0 +1,30 @@
+#!/bin/bash
+#===============================================================================
+# Copyright (c) 2014-2015 Samsung Electronics Co., Ltd.
+# Author onstudy@samsung.com
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation; version 2 of the License
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the GNU General Public License for more details.
+#===============================================================================
+# slapd
+/srv/script/slapd.sh
+
+#Create drupal gerrit database
+/srv/script/initdb.sh
+
+#drupal init config
+/srv/script/drupal.sh
+
+#gerrit init config
+/srv/script/gerrit.sh
+
+# start daemon
+/usr/bin/supervisord -c /etc/supervisor/supervisord.conf
+
+