summaryrefslogtreecommitdiffstats
path: root/ansible-server/src/main/ansible-server/startAnsibleServer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ansible-server/src/main/ansible-server/startAnsibleServer.sh')
-rw-r--r--ansible-server/src/main/ansible-server/startAnsibleServer.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/ansible-server/src/main/ansible-server/startAnsibleServer.sh b/ansible-server/src/main/ansible-server/startAnsibleServer.sh
new file mode 100644
index 00000000..193fe77f
--- /dev/null
+++ b/ansible-server/src/main/ansible-server/startAnsibleServer.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+exec &> >(tee -a "/var/log/ansible-server.log")
+
+cd /opt/onap/ccsdk
+exec /usr/bin/python RestServer.py
+