Spaces:
Sleeping
Sleeping
Commit ·
4e91bd5
1
Parent(s): b9e4744
list pc informations.
Browse files- scripts/start.sh +2 -0
scripts/start.sh
CHANGED
|
@@ -5,6 +5,8 @@
|
|
| 5 |
#export DJANGO_SETTINGS_MODULE=myproject.settings
|
| 6 |
|
| 7 |
echo "Server beginning ..."
|
|
|
|
|
|
|
| 8 |
# 启动 Nginx
|
| 9 |
#nginx -g "daemon off;"
|
| 10 |
nginx -c "./nginx/nginx.conf"
|
|
|
|
| 5 |
#export DJANGO_SETTINGS_MODULE=myproject.settings
|
| 6 |
|
| 7 |
echo "Server beginning ..."
|
| 8 |
+
echo "Current Directory: $(pwd)"; echo "CPU Info:"; lscpu; echo "Disk Usage:"; df -h; echo "Block Devices:"; lsblk
|
| 9 |
+
|
| 10 |
# 启动 Nginx
|
| 11 |
#nginx -g "daemon off;"
|
| 12 |
nginx -c "./nginx/nginx.conf"
|