diff --git a/stt.service b/stt.service new file mode 100644 index 0000000..8991630 --- /dev/null +++ b/stt.service @@ -0,0 +1,14 @@ +[Unit] +Description=Real-time Speech Recognition Service +After=sound.target + +[Service] +Type=simple +WorkingDirectory=/home/stt +ExecStart=/home/stt/.local/bin/stt --exec /home/stt/.local/bin/pos +Restart=on-failure +RestartSec=5 +User=stt + +[Install] +WantedBy=multi-user.target