I have an Ubuntu 18.04 server running in a Hyper-V VM that I want to use as a central STT translator resource for multiple mycrofts in the home.
I have installed deepspeech v0.6.1:
As well as deepspeech-server:
Deepspeech-server runs fine when executed from an SSH session, I can perform STT remotely, sending the deepspeech audio sample files.
The problem is it runs in the foreground, tying up the console, and as soon as you send ctrl-c, the process ends and the service stops operating.
I need this to run in the background, obviously, and remain running at all times. As well as start automatically at boot. Can’t really call it a “server” until it does…
Does anyone have any guidance on setting a python/pip package to run as a service?