diff options
-rwxr-xr-x | run.sh | 3 | ||||
-rwxr-xr-x | stop.sh | 3 |
2 files changed, 2 insertions, 4 deletions
@@ -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:8403 > /dev/null & +nohup python manage.py runserver 0.0.0.0:8403 > /dev/null & @@ -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:8403" | awk '{print $2}' | xargs kill -9 +ps auxww | grep "manage.py runserver 0.0.0.0:8403" | awk '{print $2}' | xargs kill -9 |