Skip to content

Instantly share code, notes, and snippets.

@tazarov
Created May 16, 2024 11:26
Show Gist options
  • Save tazarov/5e10ce892c06757d8188a8a34cd6d26d to your computer and use it in GitHub Desktop.
Save tazarov/5e10ce892c06757d8188a8a34cd6d26d to your computer and use it in GitHub Desktop.
[Unit]
Description = Chroma Service
After = network.target
[Service]
Type = simple
User = root
Group = root
WorkingDirectory = /chroma
ExecStart=/usr/local/bin/chroma run --host 127.0.0.1 --port 8000 --path /chroma/data --log-path /var/log/chroma.log
[Install]
WantedBy = multi-user.target
@tazarov
Copy link
Author

tazarov commented May 16, 2024

Install with:

wget https://gist.githubusercontent.com/tazarov/5e10ce892c06757d8188a8a34cd6d26d/raw/327a9d0b07afeb0b0cb77453aa9171fdd190984f/chroma-cli.service \
  -O /etc/systemd/system/chroma.service
sudo systemctl daemon-reload
sudo systemctl enable chroma
sudo systemctl start chroma

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment