# systemd unit for the EmbeddingGemma 2 server (multimodal, Python). # Install: sudo cp eg2-embed.service /etc/systemd/system/ && sudo systemctl daemon-reload # sudo systemctl enable --now eg2-embed # Adjust User and WorkingDirectory to where the bundle lives. [Unit] Description=EmbeddingGemma 2 embeddings on the LLM-8850 card (/v1/embeddings) After=network-online.target [Service] User=YOUR_USER WorkingDirectory=/opt/embeddinggemma2-axcl ExecStart=/opt/embeddinggemma2-axcl/.venv/bin/python eg2_server.py --host 0.0.0.0 --port 8010 Restart=on-failure RestartSec=5 [Install] WantedBy=multi-user.target