First revision

This commit is contained in:
ldy
2025-06-10 12:02:57 +08:00
parent 4f79a72294
commit 97c73b639d
45 changed files with 103 additions and 964 deletions

12
surfsmart-backend.service Normal file
View File

@@ -0,0 +1,12 @@
[Unit]
Description=SurfSmart Flask Backend
After=network.target
[Service]
WorkingDirectory=/opt/surfsmart/backend_flask
EnvironmentFile=/opt/surfsmart/.env
ExecStart=/opt/surfsmart/venv/bin/gunicorn -w 4 -b 127.0.0.1:5000 run:app
Restart=always
[Install]
WantedBy=multi-user.target