- 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
18 lines
320 B
Plaintext
18 lines
320 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/start_lightrag_server.sh
|
|
Restart=always
|
|
RestartSec=10
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|