Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
zhuyougu
/
carbon
like
0
Runtime error
App
Files
Files
Community
main
carbon
/
start.sh
zhuyou
111
0e065ca
6 months ago
raw
history
blame
contribute
delete
No virus
233 Bytes
#!/bin/bash
# 启动 Redis
echo
"Starting Redis..."
redis-server --
bind
0.0.0.0 &
# 启动 Java 应用
echo
"Starting Java application..."
java -jar /app/app.jar &
# 启动 Nginx
echo
"Starting Nginx..."
nginx -g
"daemon off;"