17 lines
365 B
Plaintext
17 lines
365 B
Plaintext
[supervisord]
|
|
logfile=/var/log/supervisord.log
|
|
logfile_backups=2
|
|
loglevel=debug
|
|
pidfile=/var/run/supervisord.pid
|
|
nocleanup=true
|
|
childlogdir=/var/log
|
|
environment=ALERTA_ENDPOINT="http://localhost:8080",ALERTA_API_KEY="demo-key"
|
|
|
|
[program:foo]
|
|
command=sleep 300
|
|
|
|
[eventlistener:evlistener]
|
|
command=%(here)s/evlistener.py
|
|
events=PROCESS_STATE,TICK_60
|
|
buffer_size=1024
|