Update install.txt

This commit is contained in:
2026-04-26 15:28:06 +02:00
parent 71a1cd32c3
commit acd445a479
+5 -5
View File
@@ -56,8 +56,8 @@ open 'fleet-control.service' and ensure the paths point to your
virtual environment. virtual environment.
Example: Example:
WorkingDirectory=/opt/web-control-server WorkingDirectory=/opt/fleet-control-server
ExecStart=/opt/web-control-server/venv/bin/gunicorn -k ... ExecStart=/opt/fleet-control-server/venv/bin/gunicorn -k ...
Configuration: Configuration:
1. Copy .service file to '/etc/systemd/system/': 1. Copy .service file to '/etc/systemd/system/':
@@ -82,7 +82,7 @@ Esegui su Debian/Ubuntu:
sudo apt install build-essential python3-dev libssl-dev libffi-dev python3-pip python3-venv sudo apt install build-essential python3-dev libssl-dev libffi-dev python3-pip python3-venv
Crea e attiva un ambiente virtuale (FONDAMENTALE su Debian 12+): Crea e attiva un ambiente virtuale (FONDAMENTALE su Debian 12+):
cd /opt/web-control-server cd /opt/fleet-control-server
python3 -m venv venv python3 -m venv venv
source venv/bin/activate source venv/bin/activate
@@ -118,8 +118,8 @@ servizio, apri 'fleet-control.service' e assicurati che i percorsi
puntino al tuo ambiente virtuale! puntino al tuo ambiente virtuale!
Esempio: Esempio:
WorkingDirectory=/opt/web-control-server WorkingDirectory=/opt/fleet-control-server
ExecStart=/opt/web-control-server/venv/bin/gunicorn -k ... ExecStart=/opt/fleet-control-server/venv/bin/gunicorn -k ...
Passaggi: Passaggi:
1. Copia il file in systemd: sudo cp fleet-control.service /etc/systemd/system/ 1. Copia il file in systemd: sudo cp fleet-control.service /etc/systemd/system/