|
@@ -6,8 +6,8 @@ After=network.target
|
|
|
Type=simple
|
|
Type=simple
|
|
|
User=apache
|
|
User=apache
|
|
|
Group=apache
|
|
Group=apache
|
|
|
-WorkingDirectory=/redant/web/erp-bridge
|
|
|
|
|
-EnvironmentFile=/redant/web/erp-bridge/.env
|
|
|
|
|
|
|
+WorkingDirectory=/redant/web/homelegance-chatbot/erp-bridge
|
|
|
|
|
+EnvironmentFile=/redant/web/homelegance-chatbot/erp-bridge/.env
|
|
|
ExecStart=/usr/bin/python3.12 -m uvicorn main:app --host 127.0.0.1 --port 8080 --workers 2
|
|
ExecStart=/usr/bin/python3.12 -m uvicorn main:app --host 127.0.0.1 --port 8080 --workers 2
|
|
|
Restart=always
|
|
Restart=always
|
|
|
RestartSec=5
|
|
RestartSec=5
|