Update install.txt
This commit is contained in:
+5
-5
@@ -56,8 +56,8 @@ open 'fleet-control.service' and ensure the paths point to your
|
||||
virtual environment.
|
||||
|
||||
Example:
|
||||
WorkingDirectory=/opt/web-control-server
|
||||
ExecStart=/opt/web-control-server/venv/bin/gunicorn -k ...
|
||||
WorkingDirectory=/opt/fleet-control-server
|
||||
ExecStart=/opt/fleet-control-server/venv/bin/gunicorn -k ...
|
||||
|
||||
Configuration:
|
||||
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
|
||||
|
||||
Crea e attiva un ambiente virtuale (FONDAMENTALE su Debian 12+):
|
||||
cd /opt/web-control-server
|
||||
cd /opt/fleet-control-server
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
|
||||
@@ -118,8 +118,8 @@ servizio, apri 'fleet-control.service' e assicurati che i percorsi
|
||||
puntino al tuo ambiente virtuale!
|
||||
|
||||
Esempio:
|
||||
WorkingDirectory=/opt/web-control-server
|
||||
ExecStart=/opt/web-control-server/venv/bin/gunicorn -k ...
|
||||
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/
|
||||
|
||||
Reference in New Issue
Block a user