diff options
Diffstat (limited to 'res')
-rwxr-xr-x | res/run.sh | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -13,4 +13,15 @@ # See the License for the specific language governing permissions and # limitations under the License. +logDir="/var/log/onap/vfc-gvnfm-vnfres/" +if [ ! -x $logDir ]; then + mkdir -p $logDir +fi + nohup python manage.py runserver 0.0.0.0:8802 > /dev/null & + +while [ ! -f $logDir/runtime_res.log ]; do + sleep 1 +done + +tail -F $logDir/runtime_res.log |