fix: Update Python executable in deployment script to use python3
This commit is contained in:
parent
8d231b49db
commit
38539df42c
@ -248,7 +248,7 @@ User=$REAL_USER
|
|||||||
Group=$REAL_USER
|
Group=$REAL_USER
|
||||||
WorkingDirectory=$INSTALL_DIR/backend
|
WorkingDirectory=$INSTALL_DIR/backend
|
||||||
Environment="PATH=$INSTALL_DIR/backend/venv/bin:/usr/local/bin:/usr/bin:/bin"
|
Environment="PATH=$INSTALL_DIR/backend/venv/bin:/usr/local/bin:/usr/bin:/bin"
|
||||||
ExecStart=$INSTALL_DIR/backend/venv/bin/python -m uvicorn app.main:app --host 0.0.0.0 --port 8000
|
ExecStart=$INSTALL_DIR/backend/venv/bin/python3 -m uvicorn app.main:app --host 0.0.0.0 --port 8000
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
StandardOutput=append:/var/log/ai-review/access.log
|
StandardOutput=append:/var/log/ai-review/access.log
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user