make-agent

This commit is contained in:
2026-10-06 14:27:41 +02:00
parent 99beaff4ca
commit 1d07a0c255
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
SHELL := /bin/bash
PREFIX := /opt/voice-agent
CONFIG_DIR := /etc/voice-agent
CONFIG_DIR := /etc/voice-assistant
# Mêmes versions que le serveur (server/pyproject.toml).
DEPS := paho-mqtt==2.1.0 PyYAML==6.0.2
+1 -1
View File
@@ -1,6 +1,6 @@
# Agent de l'assistant vocal (étape 15b) : UNE machine Linux commandée par la voix.
#
# Installé par « make agent-install » dans /etc/voice-agent/agent.yaml (lisible par root
# Installé par « make agent-install » dans /etc/voice-assistant/agent.yaml (lisible par root
# seulement : il peut contenir un mot de passe MQTT). Après modification :
# sudo systemctl restart voice-agent
#
+1 -1
View File
@@ -5,7 +5,7 @@ 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-agent/agent.yaml
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