28 lines
662 B
Desktop File
28 lines
662 B
Desktop File
[Unit]
|
|
Description=Nexus One AI ChromaDB Vector Store
|
|
After=local-fs.target
|
|
StartLimitIntervalSec=120
|
|
StartLimitBurst=3
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=cezen
|
|
Group=cezen
|
|
WorkingDirectory=/opt/cezen/data/chromadb
|
|
Environment=PATH=/opt/cezen/chromadb-venv/bin:/usr/local/bin:/usr/bin:/bin
|
|
ExecStart=/opt/cezen/chromadb-venv/bin/chroma run --host 127.0.0.1 --port 8100 --path /opt/cezen/data/chromadb
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
TimeoutStartSec=120
|
|
TimeoutStopSec=30
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ReadWritePaths=/opt/cezen/data/chromadb
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|