Initial commit: lzwlab.cn server project (docs, nginx, gitea, rustdesk, file transfer app)

This commit is contained in:
2026-08-26 22:59:47 +08:00
commit 7da61a0456
18 changed files with 2703 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
[Unit]
Description=lzwlab.cn file transfer web app
After=network.target
[Service]
Type=simple
User=lzwlab
Group=lzwlab
WorkingDirectory=/opt/lzwlab-transfer
Environment=LZWLAB_TRANSFER_CONFIG=/etc/lzwlab-transfer/config.json
ExecStart=/usr/bin/gunicorn --workers 1 --threads 4 --timeout 3600 --graceful-timeout 30 --bind 127.0.0.1:8090 --access-logfile /var/log/lzwlab-transfer/access.log --error-logfile /var/log/lzwlab-transfer/error.log app:app
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target