diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-12-20 13:06:01 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-12-20 13:06:01 +0100 |
commit | a6a71ceb1378adfffd99484c6d723ce723a7c3d2 (patch) | |
tree | 1c9a92f25caf7a6b02be249ad9c2ec3a534315d1 | |
parent | 9f2cb5ffdf52c48cbe0cd04084a09550dbabc79e (diff) | |
download | Ansible-a6a71ceb1378adfffd99484c6d723ce723a7c3d2.tar.gz Ansible-a6a71ceb1378adfffd99484c6d723ce723a7c3d2.tar.zst Ansible-a6a71ceb1378adfffd99484c6d723ce723a7c3d2.zip |
Add flavors to start script
-rwxr-xr-x | roles/contexts/fretlink/files/workdir/start | 3 |
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 | ||
44 | case "$APP" in | 44 | case "$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;; |
53 | esac | 54 | esac |