From 37de0831718e5a4e54210462f501c97394803008 Mon Sep 17 00:00:00 2001 From: ckonstanski Date: Fri, 8 Dec 2017 17:15:09 +0000 Subject: autocommit Fri Dec 8 17:15:09 UTC 2017 --- templates/ci/openbookctl | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'templates/ci/openbookctl') 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 ;; -- cgit v1.3