summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2018-12-20 13:06:01 +0100
committerIsmaël Bouya <ismael.bouya@fretlink.com>2018-12-20 13:06:01 +0100
commita6a71ceb1378adfffd99484c6d723ce723a7c3d2 (patch)
tree1c9a92f25caf7a6b02be249ad9c2ec3a534315d1 /roles
parent9f2cb5ffdf52c48cbe0cd04084a09550dbabc79e (diff)
downloadAnsible-a6a71ceb1378adfffd99484c6d723ce723a7c3d2.tar.gz
Ansible-a6a71ceb1378adfffd99484c6d723ce723a7c3d2.tar.zst
Ansible-a6a71ceb1378adfffd99484c6d723ce723a7c3d2.zip
Add flavors to start script
Diffstat (limited to 'roles')
-rwxr-xr-xroles/contexts/fretlink/files/workdir/start3
1 files changed, 2 insertions, 1 deletions
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() {
41 psql -h $POSTGRESQL_ADDON_HOST -p $POSTGRESQL_ADDON_PORT -U $POSTGRESQL_ADDON_USER -d $POSTGRESQL_ADDON_DB 41 psql -h $POSTGRESQL_ADDON_HOST -p $POSTGRESQL_ADDON_PORT -U $POSTGRESQL_ADDON_USER -d $POSTGRESQL_ADDON_DB
42} 42}
43 43
44case "$APP" in 44case "$APP${FLAVOR:+-}$FLAVOR" in
45 "psql") start_psql;; 45 "psql") start_psql;;
46 "app") start_app;; 46 "app") start_app;;
47 "admin-root") start_stack server;; 47 "admin-root") start_stack server;;
48 "carrier-directory") start_stack server;; 48 "carrier-directory") start_stack server;;
49 "freight") start_stack freight-server;; 49 "freight") start_stack freight-server;;
50 "notifier") start_stack notifier-exe;; 50 "notifier") start_stack notifier-exe;;
51 "notifier-amqp") start_stack notifier-exe-amqp;;
51 "pricer") start_stack pricer;; 52 "pricer") start_stack pricer;;
52 "toolbox") start_stack toolbox-api;; 53 "toolbox") start_stack toolbox-api;;
53esac 54esac