summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2017-09-22 09:59:11 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2017-09-22 09:59:11 +0800
commit8a28a7c393f346d7ee9b4d2f28ed9785cbaa113d (patch)
treedf9084cee31ba7a52bdb7a39aeb2ef617fd34771
parentb83578f2445985c89cf726ac2904dc74e013aeef (diff)
Change vfc-svnfm-drv listen ip to 0.0.0.0
Change-Id: I1595f379c46c4da8aa61f0082b8165725791c2c3 Issue-Id: VFC-416 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-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