diff options
Diffstat (limited to 'templates/ci/openbookctl')
| -rwxr-xr-x | templates/ci/openbookctl | 20 |
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 ;; |
