github.com/platonnetwork/platon-go@v0.7.6/cases/deploy/template/supervisor_template.conf (about)

     1  ; supervisor config file
     2  
     3  [inet_http_server]
     4  port=127.0.0.1:9001
     5  
     6  [supervisord]
     7  logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
     8  pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
     9  childlogdir=/var/log/supervisor            ; ('AUTO' child log dir, default $TEMP)
    10  
    11  ; the below section must remain in the config file for RPC
    12  ; (supervisorctl/web interface) to work, additional interfaces may be
    13  ; added by defining them in separate rpcinterface: sections
    14  [rpcinterface:supervisor]
    15  supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
    16  
    17  [supervisorctl]
    18  serverurl=http://localhost:9001
    19  
    20  
    21  ; The [include] section can just contain the "files" setting.  This
    22  ; setting can list multiple files (separated by whitespace or
    23  ; newlines).  It can also contain wildcards.  The filenames are
    24  ; interpreted as relative to this file.  Included files *cannot*
    25  ; include files themselves.
    26  
    27  [include]
    28  files = /etc/supervisor/conf.d/*.conf