[Unit] Description=Piper text-to-speech server After=network.target ConditionPathExists=/opt/piper-tts [Service] ExecStart=/opt/piper-tts/venv/bin/python3 -m piper.http_server -m en_US-ryan-medium --data-dir /opt/piper-tts/voices #RuntimeMaxSec=12h KillMode=process Restart=on-failure [Install] WantedBy=default.target