diff --git a/service/user-linux-voice-assistant.service b/service/user-linux-voice-assistant.service new file mode 100644 index 0000000..ceeffcf --- /dev/null +++ b/service/user-linux-voice-assistant.service @@ -0,0 +1,20 @@ +[Unit] +Description=Linux Voice Assistant + +[Service] +Type=simple +WorkingDirectory=/home/pi/linux-voice-assistant +Environment=PYTHONUNBUFFERED=1 + +ExecStart=/home/pi/linux-voice-assistant/script/run \ + --name LVA-OWW \ + --wake-word-dir wakewords/openWakeWord \ + --wake-word-dir wakewords \ + --stop-model stop \ + --debug + +Restart=always +RestartSec=2 + +[Install] +WantedBy=default.target