supervisord.conf 883 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. [supervisord]
  2. nodaemon=true
  3. user=root
  4. pidfile = /tmp/supervisord.pid
  5. logfile = /tmp/supervisord.log
  6. logfile_maxbytes = 10MB
  7. logfile_backups=10
  8. loglevel = debug
  9. [supervisorctl]
  10. serverurl = unix:///tmp/supervisor.sock
  11. [rpcinterface:supervisor]
  12. supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
  13. [program:sshd]
  14. user=mpiuser
  15. umask=022
  16. environment=HOME="/home/mpiuser",USER="mpiuser"
  17. chown=mpiuser:mpiuser
  18. stdout_logfile=/tmp/sshd.out
  19. stderr_logfile=/tmp/sshd.err
  20. stdout_logfile_maxbytes=10MB
  21. autostart=true
  22. autorestart=true
  23. stdout_logfile_backups=10
  24. command=/usr/sbin/sshd -D -f /home/mpiuser/ssh/sshd_config -E /tmp/sshd.log
  25. [program:telegraf]
  26. user=root
  27. stdout_logfile_maxbytes=10MB
  28. autostart=true
  29. autorestart=false
  30. stdout_logfile_backups=10
  31. command=/usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d