From a6a71ceb1378adfffd99484c6d723ce723a7c3d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 20 Dec 2018 13:06:01 +0100 Subject: Add flavors to start script --- roles/contexts/fretlink/files/workdir/start | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/contexts/fretlink/files/workdir/start b/roles/contexts/fretlink/files/workdir/start index b587efe..840943a 100755 --- a/roles/contexts/fretlink/files/workdir/start +++ b/roles/contexts/fretlink/files/workdir/start @@ -41,13 +41,14 @@ function start_psql() { psql -h $POSTGRESQL_ADDON_HOST -p $POSTGRESQL_ADDON_PORT -U $POSTGRESQL_ADDON_USER -d $POSTGRESQL_ADDON_DB } -case "$APP" in +case "$APP${FLAVOR:+-}$FLAVOR" in "psql") start_psql;; "app") start_app;; "admin-root") start_stack server;; "carrier-directory") start_stack server;; "freight") start_stack freight-server;; "notifier") start_stack notifier-exe;; + "notifier-amqp") start_stack notifier-exe-amqp;; "pricer") start_stack pricer;; "toolbox") start_stack toolbox-api;; esac -- cgit v1.2.3