X-Git-Url: https://gerrit.onap.org/r/gitweb?p=sdnc%2Foam.git;a=blobdiff_plain;f=installation%2Fansible-server%2Fsrc%2Fmain%2Fscripts%2FstartAnsibleServer.sh;fp=installation%2Fansible-server%2Fsrc%2Fmain%2Fscripts%2FstartAnsibleServer.sh;h=f1e93168a291be01d168b466c931e82b47068459;hp=eec62ba6f85eb820d943a51d73de180edacd133e;hb=4b4b3e31ce25d2f49bf55a762546618401a759f2;hpb=1c7e45507c7686a236cf5f23bb572142d8be1dba diff --git a/installation/ansible-server/src/main/scripts/startAnsibleServer.sh b/installation/ansible-server/src/main/scripts/startAnsibleServer.sh index eec62ba6..f1e93168 100644 --- a/installation/ansible-server/src/main/scripts/startAnsibleServer.sh +++ b/installation/ansible-server/src/main/scripts/startAnsibleServer.sh @@ -1,5 +1,5 @@ -#/bin/bash -exec &> /var/log/ansible-server.log +#!/bin/bash +exec &> >(tee -a "/var/log/ansible-server.log") if [ ! -f /tmp/.ansible-server-installed ] then @@ -14,4 +14,4 @@ then fi cd /opt/onap/sdnc -exec python RestServer.py \ No newline at end of file +exec /usr/bin/python RestServer.py