LightRAG/lightrag.service.example
yangdx 0affee1eef 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
2025-02-07 10:54:13 +08:00

18 lines
308 B
Plaintext

[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