summaryrefslogtreecommitdiff
path: root/templates/ci/openbookctl
diff options
context:
space:
mode:
authorckonstanski <ckonstanski@pippiandcarlos.com>2017-12-08 17:15:09 +0000
committerckonstanski <ckonstanski@pippiandcarlos.com>2017-12-08 17:15:09 +0000
commit37de0831718e5a4e54210462f501c97394803008 (patch)
treea6e39938d3572f269378e109e0f1a0225fa1060c /templates/ci/openbookctl
parent621a5c280a71fe3ede8742b9b289ee0e3d2a9875 (diff)
autocommit Fri Dec 8 17:15:09 UTC 2017
Diffstat (limited to 'templates/ci/openbookctl')
-rwxr-xr-xtemplates/ci/openbookctl20
1 files changed, 13 insertions, 7 deletions
diff --git a/templates/ci/openbookctl b/templates/ci/openbookctl
index 0563a16..b59d413 100755
--- a/templates/ci/openbookctl
+++ b/templates/ci/openbookctl
@@ -38,25 +38,25 @@ do_start() {
ensure_openbook_databases_created
{% endif %}
{% if "True" == openbook_install_job_scheduler_server|string() %}
- /opt/openbook/job_scheduler_server/run.sh
+ /opt/openbook/job_scheduler_server/run.sh ${@}
{% endif %}
{% if "True" == openbook_install_workflow_server|string() %}
- /opt/openbook/workflow_server/run.sh
+ /opt/openbook/workflow_server/run.sh ${@}
{% endif %}
{% if "True" == openbook_install_admin_api_server|string() %}
- /opt/openbook/admin_api_server/run.sh
+ /opt/openbook/admin_api_server/run.sh ${@}
{% endif %}
{% if "True" == openbook_install_customer_api_server|string() %}
- /opt/openbook/customer_api_server/run.sh
+ /opt/openbook/customer_api_server/run.sh ${@}
{% endif %}
{% if "True" == openbook_install_admin_web_ui|string() %}
- /opt/openbook/admin_web_ui/run.sh
+ /opt/openbook/admin_web_ui/run.sh ${@}
{% endif %}
{% if "True" == openbook_install_customer_web_ui|string() %}
- /opt/openbook/customer_web_ui/run.sh
+ /opt/openbook/customer_web_ui/run.sh ${@}
{% endif %}
echo
- echo "Openbook started. All components may not be fully initialized and available."
+ echo "Openbook started."
}
do_stop() {
@@ -82,11 +82,14 @@ do_stop() {
docker stop database
{% endif %}
docker container prune -f
+ echo
+ echo "Openbook stopped."
}
do_help() {
echo "Usage:"
echo " $0 start"
+ echo " $0 debug"
echo " $0 stop"
{% if "True" == openbook_install_database|string() %}
echo " $0 test_database"
@@ -97,6 +100,9 @@ case $1 in
start*)
do_start
;;
+ debug*)
+ do_start debug
+ ;;
stop*)
do_stop
;;