voice-server/voice-server.service
Cal Corum 7cc2148370 Fix default voice to use server configuration
Changed voice field in NotifyRequest from hardcoded default to None,
allowing the route handler to use settings.default_voice from .env.
Added EnvironmentFile directive to systemd service for reliable config loading.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-19 00:35:12 -06:00

22 lines
605 B
Desktop File

[Unit]
Description=Voice Server - Local TTS HTTP Service
Documentation=https://github.com/calcorum/voice-server
After=network.target sound.target
[Service]
Type=simple
WorkingDirectory=/mnt/NV2/Development/voice-server
Environment=PATH=/mnt/NV2/Development/voice-server/.venv/bin:/usr/bin:/bin
EnvironmentFile=/mnt/NV2/Development/voice-server/.env
ExecStart=/mnt/NV2/Development/voice-server/.venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 8888
Restart=on-failure
RestartSec=5
# Logging
StandardOutput=journal
StandardError=journal
SyslogIdentifier=voice-server
[Install]
WantedBy=default.target