aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/templates/moonforming/run.sh
diff options
context:
space:
mode:
authorAsteroide <thomas.duval@orange.com>2017-10-19 09:39:09 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-10-19 09:39:09 +0000
commit2a6a0241e1c40e95c6782513dd99d437ebf73c62 (patch)
tree712680c07ee40bb40ebcf01384eff3dcaa613f7c /moonv4/templates/moonforming/run.sh
parente493f6692072574d339972f0db3adb8270bdeccd (diff)
parent7cc08044446719483e8cc235742e6f9a0d500287 (diff)
Merge "Add the moonforming container."
Diffstat (limited to 'moonv4/templates/moonforming/run.sh')
-rw-r--r--moonv4/templates/moonforming/run.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/moonv4/templates/moonforming/run.sh b/moonv4/templates/moonforming/run.sh
new file mode 100644
index 00000000..97e29d98
--- /dev/null
+++ b/moonv4/templates/moonforming/run.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+# TODO: wait for consul
+python3 /root/conf2consul.py /etc/moon/moon.conf
+
+# TODO: wait for database
+moon_db_manager upgrade \ No newline at end of file