Fix: mismatch

This commit is contained in:
2026-04-26 18:28:02 +02:00
parent d2feb67cef
commit 7ba28dd02a
3 changed files with 8 additions and 8 deletions
+21
View File
@@ -0,0 +1,21 @@
[Unit]
Description=Fleet Control Console - Central Hub
After=network.target
[Service]
Type=simple
User=root
# Assicurati che questo sia il percorso esatto della cartella del tuo progetto
WorkingDirectory=/opt/fleet-control-server
# PUNTA AL GUNICORN DENTRO IL VENV!
ExecStart=/opt/fleet-control-server/venv/bin/gunicorn -k "geventwebsocket.gunicorn.workers.GeventWebSocketWorker" -w 1 --graceful-timeout 2 --bind 0.0.0.0:9000 app:app
TimeoutStopSec=3
Restart=always
RestartSec=5
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=fleet-console
[Install]
WantedBy=multi-user.target