mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-06-26 22:00:19 +00:00

• 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
18 lines
308 B
Plaintext
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
|