Rename startup script and service files for better clarity

• Renamed start_lightrag.sh to lightrag-api
• Renamed service file to lightrag.service
• Updated service file to use new script name
• Made file names more consistent
This commit is contained in:
yangdx
2025-02-07 10:54:13 +08:00
parent 0005462d4d
commit 0affee1eef
2 changed files with 1 additions and 1 deletions

17
lightrag.service.example Normal file
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/lightrag-api
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target