diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2019-05-09 10:02:34 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2019-05-09 10:02:34 +0800 |
commit | c363c2c9e5fd2cad61d9f64bea3d1a911e13e987 (patch) | |
tree | b6bced99e27c03b6b3f6e4dd7167e14a0ef303ce | |
parent | 3f4119e9513002395f612b440710b1996696fb2a (diff) |
Fix run and stop sh for nslcm
Change-Id: I45848ab72d9a2cd6c2c6b0854fee8b32cf359b82
Issue-ID: VFC-1306
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rwxr-xr-x | run.sh | 7 | ||||
-rwxr-xr-x | stop.sh | 2 |
2 files changed, 1 insertions, 8 deletions
@@ -26,10 +26,3 @@ if [ "${SSL_ENABLED}" = "true" ]; then else nohup uwsgi --http :8403 -t 120 --module lcm.wsgi --uid onap --gid onap --master --processes 4 & fi - - -while [ ! -f $logDir/runtime_nslcm.log ]; do - sleep 1 -done - -tail -F $logDir/runtime_nslcm.log
\ No newline at end of file @@ -12,5 +12,5 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# ps auxww | grep "manage.py runserver 0.0.0.0:8403" | awk '{print $2}' | xargs kill -9 +# ps auxww | grep "manage.py runserver 0.0.0.0:8403" | awk '{print $1}' | xargs kill -9 ps auxww |grep 'uwsgi --http' |awk '{print $1}' |xargs kill -9 |