agent
This commit is contained in:
13
agent/packaging/systemd/local-installer-agent.service
Normal file
13
agent/packaging/systemd/local-installer-agent.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Local Installer Agent
|
||||
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
|
||||
Restart=always
|
||||
User=root
|
||||
EnvironmentFile=/etc/local-installer-agent/agent.env
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user