b29d04ac2c
Self-contained HTTP service with engine, data, start script, systemd unit, and documentation. Runs independently of the Discord bot on its fixed port.
934 B
934 B
Installing the DECTalk TTS Server as a system service
These steps install the server as a systemd service that starts on boot and
restarts automatically if it crashes. Commands that need root are shown with
sudo; run them in your own terminal.
1. Install prerequisites
sudo apt install ffmpeg nodejs npm
2. Install node dependencies
cd /home/owen/dectalk-tts-server
npm install
3. Install the systemd unit
sudo cp /home/owen/dectalk-tts-server/dectalk-tts-server.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable --now dectalk-tts-server
4. Verify
systemctl status dectalk-tts-server
curl -s http://127.0.0.1:33001/health
The health endpoint should return {"status":"ok"}.
Managing the service
sudo systemctl restart dectalk-tts-server
sudo systemctl stop dectalk-tts-server
journalctl -u dectalk-tts-server -f