summaryrefslogtreecommitdiffstats
path: root/mgr
diff options
context:
space:
mode:
Diffstat (limited to 'mgr')
-rwxr-xr-xmgr/run.sh6
-rwxr-xr-xmgr/stop.sh2
2 files changed, 1 insertions, 7 deletions
diff --git a/mgr/run.sh b/mgr/run.sh
index b021a78..f65ce4f 100755
--- a/mgr/run.sh
+++ b/mgr/run.sh
@@ -25,9 +25,3 @@ if [ "${SSL_ENABLED}" = "true" ]; then
else
nohup uwsgi --http :8803 -t 120 --module mgr.wsgi --master --processes 4 &
fi
-
-while [ ! -f $logDir/runtime_mgr.log ]; do
- sleep 1
-done
-
-tail -F $logDir/runtime_mgr.log
diff --git a/mgr/stop.sh b/mgr/stop.sh
index 38ca0d6..db65996 100755
--- a/mgr/stop.sh
+++ b/mgr/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:8803' | awk '{print $2}' | xargs kill -9
+# ps auxww | grep 'manage.py runserver 0.0.0.0:8803' | awk '{print $1}' | xargs kill -9
ps auxww |grep 'uwsgi --http' |awk '{print $1}' |xargs kill -9