Files
netconfig/for_glpi_agent/cron_supervisor/consigliato - supervisor per controllo processi
T
2026-05-22 13:55:01 +02:00

12 lines
555 B
Plaintext

# /etc/supervisor/conf.d/glpi-netconfig.conf
[program:glpi-netconfig]
command=/usr/bin/python3 /usr/share/glpi_agent/plugins/netconfig_backup.py
directory=/usr/share/glpi_agent/plugins
user=glpi-agent
autostart=false # Non partire all'avvio, esegui solo on-demand
autorestart=false
startsecs=0
stdout_logfile=/var/log/glpi_netconfig_supervisor.log
stderr_logfile=/var/log/glpi_netconfig_supervisor_err.log
environment=NETCONFIG_CONFIG="/etc/glpi-agent/netconfig_devices.yaml",GLPI_URL="https://glpi.example.com",NETCONFIG_AGENT_TOKEN="your_secure_token"