Update systemd/fleet-control.service
This commit is contained in:
@@ -8,7 +8,7 @@ User=root
|
|||||||
# Assicurati che questo sia il percorso esatto della cartella del tuo progetto
|
# Assicurati che questo sia il percorso esatto della cartella del tuo progetto
|
||||||
WorkingDirectory=/opt/fleet-control-server
|
WorkingDirectory=/opt/fleet-control-server
|
||||||
# PUNTA AL GUNICORN DENTRO IL VENV!
|
# PUNTA AL GUNICORN DENTRO IL VENV!
|
||||||
ExecStart=/opt/web-control-server/venv/bin/gunicorn -k "geventwebsocket.gunicorn.workers.GeventWebSocketWorker" -w 1 --graceful-timeout 2 --bind 0.0.0.0:9000 app:app
|
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
|
TimeoutStopSec=3
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
|||||||
Reference in New Issue
Block a user