mirror of
https://github.com/deunix-educ/voice-assistant.git
synced 2026-11-26 20:19:43 +01:00
15 lines
525 B
Desktop File
15 lines
525 B
Desktop File
# Service systemd de l'agent de l'assistant vocal (étape 15b), installé par « make agent-install ».
|
|
[Unit]
|
|
Description=Agent de l'assistant vocal (commandes par MQTT)
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
ExecStart=/opt/voice-agent/.venv/bin/python /opt/voice-agent/voice_agent.py --config /etc/voice-assistant/agent.yaml
|
|
# Relancé s'il s'arrête (broker absent au démarrage, plantage...) : l'agent doit toujours répondre.
|
|
Restart=always
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|