Added Files
This commit is contained in:
Executable
+5
@@ -0,0 +1,5 @@
|
||||
mkdir -p /web
|
||||
curl -O https://bootstrap.pypa.io/get-pip.py
|
||||
python get-pip.py --user
|
||||
python -m pip install Flask
|
||||
#sdssdsds
|
||||
Executable
+1
@@ -0,0 +1 @@
|
||||
python /web/web.py > /dev/null 2>&1 &
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
import requests
|
||||
|
||||
requests.post("http://127.0.0.1/shutdown")
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/python
|
||||
import requests
|
||||
|
||||
requests.post("http://127.0.0.1/shutdown")
|
||||
|
||||
|
||||
Executable
+1
@@ -0,0 +1 @@
|
||||
python /web/scripts/stop_flask.py
|
||||
Reference in New Issue
Block a user