diff options
-rwxr-xr-x | run.sh | 9 | ||||
-rwxr-xr-x | stop.sh | 2 |
2 files changed, 2 insertions, 9 deletions
@@ -15,7 +15,7 @@ logDir="/var/log/onap/vfc/catalog/" if [ ! -x $logDir ]; then - mkdir -p $logDir + mkdir -p $logDir fi # nohup python manage.py runserver 0.0.0.0:8806 > /dev/null & @@ -27,10 +27,3 @@ if [ "${SSL_ENABLED}" = "true" ]; then else nohup uwsgi --http :8806 -t 120 --module catalog.wsgi --master --processes 4 & fi - - -while [ ! -f $logDir/runtime_catalog.log ]; do - sleep 1 -done - -tail -F $logDir/runtime_catalog.log
\ No newline at end of file @@ -13,5 +13,5 @@ # See the License for the specific language governing permissions and # limitations under the License. -# ps auxww | grep "manage.py runserver 0.0.0.0:8806" | awk '{print $2}' | xargs kill -9 +# ps auxww | grep "manage.py runserver 0.0.0.0:8806" | awk '{print $1}' | xargs kill -9 ps auxww |grep 'uwsgi --http' |awk '{print $1}' |xargs kill -9 |