add example service file
This commit is contained in:
parent
ebd4b531c7
commit
0262ca6659
1 changed files with 14 additions and 0 deletions
14
stt.service
Normal file
14
stt.service
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue