pyratelog

personal blog
git clone git://git.pyratebeard.net/pyratelog.git
Log | Files | Refs | README

supervisord.conf (578B)


      1 [supervisord]
      2 user=root
      3 nodaemon=true
      4 logfile=/tmp/supervisord.log
      5 childlogdir=/tmp
      6 pidfile = /tmp/supervisord.pid
      7 
      8 [program:python-http]
      9 command=python3 -m http.server --directory /pyratelog
     10 stdout_logfile=/dev/stdout
     11 stdout_logfile_maxbytes=0
     12 stderr_logfile=/dev/stdout
     13 stderr_logfile_maxbytes=0
     14 autostart=true
     15 autorestart=true
     16 startretries=0
     17 
     18 [program:pyratelog]
     19 command=sh /pyratelog/pyratelog.sh
     20 stdout_logfile=/pyratelog/pyrate.log
     21 stdout_logfile_maxbytes=100
     22 stderr_logfile=/pyratelog/pyrate.err
     23 stderr_logfile_maxbytes=100
     24 autostart=true
     25 autorestart=true
     26 startretries=0