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
+6 -6
View File
@@ -80,10 +80,10 @@ pip install -r requirements.txt
#### 4. Running as a Service
To run the server continuously in production using Gunicorn:
```bash
sudo cp fleet-control.service /etc/systemd/system/
sudo cp fleet-console.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable fleet-control
sudo systemctl start fleet-control
sudo systemctl enable fleet-console
sudo systemctl start fleet-console
```
*(Ensure the `.service` file points to the `gunicorn` executable inside your `venv`)*.
@@ -165,10 +165,10 @@ pip install -r requirements.txt
#### 4. Esecuzione come Servizio (systemd)
Per eseguire il server in produzione in modo continuo e stabile con Gunicorn:
```bash
sudo cp fleet-control.service /etc/systemd/system/
sudo cp fleet-console.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable fleet-control
sudo systemctl start fleet-control
sudo systemctl enable fleet-console
sudo systemctl start fleet-console
```
*(Assicurati che il file `.service` punti all'eseguibile `gunicorn` situato all'interno della cartella `venv`).*
+2 -2
View File
@@ -61,7 +61,7 @@ ExecStart=/opt/fleet-control-server/venv/bin/gunicorn -k ...
Configuration:
1. Copy .service file to '/etc/systemd/system/':
sudo cp fleet-control.service /etc/systemd/system/
sudo cp fleet-console.service /etc/systemd/system/
2. Reload systemd: sudo systemctl daemon-reload
3. Enable on boot: sudo systemctl enable fleet-console
4. Start service: sudo systemctl start fleet-console
@@ -122,7 +122,7 @@ WorkingDirectory=/opt/fleet-control-server
ExecStart=/opt/fleet-control-server/venv/bin/gunicorn -k ...
Passaggi:
1. Copia il file in systemd: sudo cp fleet-control.service /etc/systemd/system/
1. Copia il file in systemd: sudo cp fleet-console.service /etc/systemd/system/
2. Ricarica la configurazione: sudo systemctl daemon-reload
3. Abilita all'avvio: sudo systemctl enable fleet-console
4. Avvia il servizio: sudo systemctl start fleet-console