Add hermes-webapi systemd service

This commit is contained in:
Hermes
2026-04-09 21:13:15 -05:00
parent 4f5fde34a3
commit 9d8c338a67
+15
View File
@@ -0,0 +1,15 @@
[Unit]
Description=Hermes WebAPI (FastAPI)
After=network.target
[Service]
Type=simple
WorkingDirectory=/home/hermes/.hermes/hermes-agent
Environment=HERMES_WEBAPI_HOST=0.0.0.0
Environment=HERMES_CORS_ORIGINS=*
ExecStart=/home/hermes/.hermes/hermes-agent/venv/bin/python -m webapi
Restart=on-failure
RestartSec=5
[Install]
WantedBy=default.target