feat: enhance LocalAGI installation with user creation and service hardening

This commit is contained in:
John Doe
2026-03-04 20:41:07 -05:00
parent ff80094629
commit d0803f96d8
2 changed files with 41 additions and 5 deletions

View File

@@ -48,5 +48,10 @@
"text": "To use an external Ollama host, edit `/opt/localagi/.env` and set `LOCALAGI_LLM_API_URL=http://<ollama-host>:11434/v1`, then restart LocalAGI with `systemctl restart localagi`.",
"type": "info"
}
,
{
"text": "The service runs as a dedicated system user `localagi` and the unit includes basic hardening (NoNewPrivileges, PrivateTmp, ProtectSystem).",
"type": "info"
}
]
}