Refactor service and script paths for LightRAG.

- Renamed service file to `lightrag-server.service.example`
- Updated `ExecStart` path in service file
- Corrected README.md service file reference
- Moved `start_lightrag.sh.example` to root
- No functionality is changed
This commit is contained in:
yangdx
2025-01-19 13:28:29 +08:00
parent ef73ed4291
commit b008c586ea
3 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
[Unit]
Description=LightRAG XYJ Ollama Service
After=network.target
[Service]
Type=simple
User=netman
# Memory settings
MemoryHigh=8G
MemoryMax=12G
WorkingDirectory=/home/netman/lightrag-xyj
ExecStart=/home/netman/lightrag-xyj/start_lightrag_server.sh
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target