Start when Machine is Booted¶
The ASR server can be configured with the systemd to run at system startup (boot). Simply run the following command:
sudo systemctl enable asr-server
Verify the configuration using the command:
sudo systemctl status asr-server
The returned command will show the field as enabled, indicating that the service will be launched automatically upon system startup.
Loaded: loaded (/usr/lib/systemd/system/asr-server.service; enabled; vendor preset: disabled)
The following example shows the complete answer:
$ sudo systemctl status asr-server
● asr-server.service - CPqD Speech Recognition Server
Loaded: loaded (/usr/lib/systemd/system/asr-server.service; enabled; vendor preset: disabled)
Active: inactive (dead)
Docs: https://speechweb.cpqd.com.br/asr/docs/latest
To disable automatic launching when the machine is booted, use the following command:
sudo systemctl disable asr-server
This is how the service status will be:
Loaded: loaded (/usr/lib/systemd/system/asr-server.service; disabled; vendor preset: disabled)