summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlcm/run.sh5
-rwxr-xr-xlcm/stop.sh2
2 files changed, 1 insertions, 6 deletions
diff --git a/lcm/run.sh b/lcm/run.sh
index d7014a23..d417889e 100755
--- a/lcm/run.sh
+++ b/lcm/run.sh
@@ -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