diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2019-05-09 10:25:26 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2019-05-09 10:25:26 +0800 |
commit | d6dd15bbcf04877127f867176fa501f7662f7159 (patch) | |
tree | 0a0a17135922e0aab2d6792570ce3fdba7464cff | |
parent | f643d0b9eb41c020bce51c61c6e4e4ae5d40a552 (diff) |
Fix run and stop sh for vnflcm
Change-Id: I19f20f2a36db1716a692f2873c01f5533a635799
Issue-ID: VFC-1306
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rwxr-xr-x | lcm/run.sh | 5 | ||||
-rwxr-xr-x | lcm/stop.sh | 2 |
2 files changed, 1 insertions, 6 deletions
@@ -26,8 +26,3 @@ else nohup uwsgi --http :8801 -t 120 --module lcm.wsgi --master --processes 4 & fi -while [ ! -f $logDir/runtime_lcm.log ]; do - sleep 1 -done - -tail -F $logDir/runtime_lcm.log diff --git a/lcm/stop.sh b/lcm/stop.sh index 099f555f..ecea10ee 100755 --- a/lcm/stop.sh +++ b/lcm/stop.sh @@ -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:8801' | awk '{print $2}' | xargs kill -9 +# ps auxww | grep 'manage.py runserver 0.0.0.0:8801' | awk '{print $1}' | xargs kill -9 ps auxww |grep 'uwsgi --http' |awk '{print $1}' |xargs kill -9
\ No newline at end of file |