Files
manifests/charts/matomo/templates/configmap-supervisor-queuedtrackingmonitor.yaml
T
mrtz 8f46e45cfb feat: Add Matomo Chart for analytics
Also adds the Digitalist Chart as Backup in case the
bitnami one stops working.
2025-09-11 10:25:17 +02:00

26 lines
732 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: matomo-supervisor-queuedtrackingmonitor
namespace: {{.Values.namespace}}
data:
queuedtracking-monitor.ini: |
[unix_http_server]
file = /home/www-data/supervisord.sock
[program:queuedtracking-monitor]
startretries=100
process_name=%(program_name)s_%(process_num)02d
command=sh -c 'while ( php /var/www/html/console queuedtracking:monitor --iterations=1 );do sleep 2; done'
autostart=true
autorestart=true
user=www-data
numprocs=1
redirect_stderr=true
stdout_events_enabled=true
stderr_events_enabled=true
stdout_logfile_maxbytes=0
stderr_logfile_maxbytes=0
stdout_logfile=/dev/stdout
stderr_logfile=/dev/stderr