[Unit] Description=LiveKit Voice Agent After=network.target [Service] Type=simple User=root WorkingDirectory=/var/www/html/livekit_frontend/BackEnd/agent-starter-python Environment="PATH=/var/www/html/livekit_frontend/BackEnd/agent-starter-python/.venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" Environment="PYTHONUNBUFFERED=1" # Unset proxy variables that interfere with LiveKit and TTS APIs Environment="HTTP_PROXY=" Environment="HTTPS_PROXY=" Environment="http_proxy=" Environment="https_proxy=" Environment="ALL_PROXY=" Environment="all_proxy=" Environment="NO_PROXY=" Environment="no_proxy=" ExecStart=/var/www/html/livekit_frontend/BackEnd/agent-starter-python/.venv/bin/python3 src/agent.py dev Restart=always RestartSec=10 StandardOutput=append:/var/www/html/livekit_frontend/BackEnd/agent-starter-python/backend-10workers.log StandardError=append:/var/www/html/livekit_frontend/BackEnd/agent-starter-python/backend-10workers.log [Install] WantedBy=multi-user.target