[Unit] Description=Publish C920 cameras (speechbrain audio) to LiveKit Documentation=file:///home/fdenkena/livekit-cameras/README.md After=network-online.target sound.target Wants=network-online.target # Local livekit-server is disabled; publishers use LIVEKIT_URL in .env. [Service] Type=simple WorkingDirectory=/home/fdenkena/livekit-cameras EnvironmentFile=-/home/fdenkena/livekit-cameras/.env Environment=PYTHONUNBUFFERED=1 Environment=ENHANCE_MODE=force ExecStartPre=/home/fdenkena/livekit-cameras/deploy/wait-for-cameras.sh ExecStartPre=/home/fdenkena/livekit-cameras/deploy/wait-for-livekit.sh ExecStart=/home/fdenkena/livekit-cameras/.venv/bin/python /home/fdenkena/livekit-cameras/run.py ExecStop=/bin/kill -TERM $MAINPID Restart=always RestartSec=5 TimeoutStartSec=90 TimeoutStopSec=30 KillMode=control-group KillSignal=SIGTERM [Install] WantedBy=multi-user.target