summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xzte/vmanager/run.sh3
-rwxr-xr-xzte/vmanager/stop.sh3
2 files changed, 2 insertions, 4 deletions
diff --git a/zte/vmanager/run.sh b/zte/vmanager/run.sh
index 4ed4445b..111e9fc3 100755
--- a/zte/vmanager/run.sh
+++ b/zte/vmanager/run.sh
@@ -12,5 +12,4 @@
# 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.
-sip=127.0.0.1
-nohup python manage.py runserver $sip:8410 > /dev/null &
+nohup python manage.py runserver 0.0.0.0:8410 > /dev/null &
diff --git a/zte/vmanager/stop.sh b/zte/vmanager/stop.sh
index a4f5c8a0..8848e16d 100755
--- a/zte/vmanager/stop.sh
+++ b/zte/vmanager/stop.sh
@@ -12,5 +12,4 @@
# 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.
-sip=127.0.0.1
-ps auxww | grep "manage.py runserver $sip:8410" | awk '{print $2}' | xargs kill -9
+ps auxww | grep "manage.py runserver 0.0.0.0:8410" | awk '{print $2}' | xargs kill -9