fix remote ubuntu server
This commit is contained in:
@@ -4,7 +4,7 @@ After=network.target
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/opt/local-installer-agent
|
||||
ExecStart=/opt/local-installer-agent/venv/bin/python -m uvicorn app.main:app --host 127.0.0.1 --port 5010
|
||||
ExecStart=/opt/local-installer-agent/venv/bin/python -m uvicorn app.main:app --host ${AGENT_HOST} --port ${AGENT_PORT}
|
||||
Restart=always
|
||||
User=root
|
||||
EnvironmentFile=/etc/local-installer-agent/agent.env
|
||||
|
||||
Reference in New Issue
Block a user