new changes
This commit is contained in:
@@ -288,7 +288,8 @@ $REDIS_WANTS
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=$INSTALL_PATH/backend
|
||||
Environment="PATH=$INSTALL_PATH/backend/venv/bin:\$PATH"
|
||||
# Include system paths: systemd does not expand \$PATH reliably; venv-only PATH breaks dnf/apt from the API.
|
||||
Environment="PATH=$INSTALL_PATH/backend/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
ExecStart=$INSTALL_PATH/backend/venv/bin/uvicorn app.main:app --host 127.0.0.1 --port $BACKEND_PORT
|
||||
Restart=always
|
||||
|
||||
Reference in New Issue
Block a user