GOOD SHELL MAS BOY
Server: Apache/2.4.52 (Ubuntu)
System: Linux vmi1836763.contaboserver.net 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64
User: www-data (33)
PHP: 8.4.10
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/supervisor/__pycache__/rpcinterface.cpython-310.pyc
o

���^Ց�@srddlZddlZddlZddlZddlZddlmZddlmZddlmZddl	m
Z
mZddlm
Z
ddlmZddlmZdd	lmZdd
lmZddlmZddlmZdd
lmZddlmZddlmZddlmZddlmZmZmZddlmZddlm Z ddlm!Z!ddlm"Z"ddlm#Z#m$Z$dZ%Gdd�d�Z&dd�Z'dd�Z(dd�Z)d d!�Z*d"d#�Z+dS)$�N)�	as_string)�as_bytes)�unicode)�	Automatic�
signal_number)�readFile)�tailFile)�
NotExecutable)�NotFound)�NoPermission)�
make_namespec)�split_namespec)�VERSION)�notify)�RemoteCommunicationEvent)�NOT_DONE_YET)�
capped_int�Faults�RPCError)�SupervisorStates)�getSupervisorStateDescription)�
ProcessStates)�getProcessStateDescription)�RUNNING_STATES�STOPPED_STATESz3.0c@sneZdZdd�Zdd�Zdd�ZeZdd�Zd	d
�Zdd�Z	d
d�Z
dd�ZeZdd�Z
dd�Zdd�Zdd�Zdd�Zdd�ZdTdd�Zd d!�ZdUd#d$�ZdUd%d&�ZdUd'd(�ZdUd)d*�ZdUd+d,�ZdUd-d.�Zd/d0�Zd1d2�Zd3d4�Zd5d6�Zd7d8�Zd9d:�Z d;d<�Z!d=d>�Z"d?d@�Z#dAdB�Z$e$Z%dCdD�Z&dEdF�Z'dGdH�Z(e(Z)dIdJ�Z*dKdL�Z+e+Z,dMdN�Z-dOdP�Z.dQdR�Z/dSS)V�SupervisorNamespaceRPCInterfacecCs
||_dS�N��supervisord)�selfr�r �9/usr/lib/python3/dist-packages/supervisor/rpcinterface.py�__init__/�
z(SupervisorNamespaceRPCInterface.__init__cCs8||_t|jjjt�r|jjjtjkrtt	j
��dSdSr)�update_text�
isinstancer�options�mood�intr�RUNNINGrr�SHUTDOWN_STATE)r�textr r r!�_update2s
�z'SupervisorNamespaceRPCInterface._updatecC�|�d�tS)zj Return the version of the RPC API used by supervisord

        @return string version version id
        �
getAPIVersion)r,�API_VERSION�rr r r!r.:�
z-SupervisorNamespaceRPCInterface.getAPIVersioncCr-)zw Return the version of the supervisor package in use by supervisord

        @return string version version id
        �getSupervisorVersion)r,rr0r r r!r2Dr1z4SupervisorNamespaceRPCInterface.getSupervisorVersioncCs|�d�|jjjS)zh Return identifying string of supervisord

        @return string identifier identifying string
        �getIdentification)r,rr&�
identifierr0r r r!r3Ls

z1SupervisorNamespaceRPCInterface.getIdentificationcCs*|�d�|jjj}t|�}||d�}|S)z� Return current state of supervisord as a struct

        @return struct A struct with keys int statecode, string statename
        �getState)�	statecode�	statename)r,rr&r'r)r�stater7�datar r r!r5Ts

�z(SupervisorNamespaceRPCInterface.getStatecCs|�d�|jj��S)z@ Return the PID of supervisord

        @return int PID
        �getPID)r,rr&�get_pidr0r r r!r:cs
z&SupervisorNamespaceRPCInterface.getPIDc
Cs�|�d�|jjj}|dustj�|�sttj	|��z
t
t|t|�t|���WSt
y?}z|jd}ttt|���d}~ww)z� Read length bytes from the main log starting at offset

        @param int offset         offset to start reading from.
        @param int length         number of bytes to read from the log.
        @return string result     Bytes of log
        �readLogNr)r,rr&�logfile�os�path�existsrr�NO_FILErrr(�
ValueError�args�getattr)r�offset�lengthr=�inst�whyr r r!r<ks


��z'SupervisorNamespaceRPCInterface.readLogc	Cs�|�d�|jjj}|dus|jj�|�sttj��z	|jj�|�Wnt	t
fy1ttj��w|jjjj
D]}t|d�rK|jjj�d�|��q8dS)z^ Clear the main log.

        @return boolean result always returns True unless error
        �clearLogN�reopenzreopening log fileT)r,rr&r=r@rrrA�remove�OSError�IOError�FAILED�logger�handlers�hasattr�inforJ)rr=�handlerr r r!rI�s



�
�z(SupervisorNamespaceRPCInterface.clearLogcC�|�d�tj|jj_dS)zk Shut down the supervisor process

        @return boolean result always returns True unless error
        �shutdownT)r,r�SHUTDOWNrr&r'r0r r r!rU�s
z(SupervisorNamespaceRPCInterface.shutdowncCrT)zi Restart the supervisor process

        @return boolean result  always return True unless error
        �restartT)r,r�
RESTARTINGrr&r'r0r r r!rW�s
z'SupervisorNamespaceRPCInterface.restartc
Cs�|�d�z
|jjjdd�Wnty!}zttj|��d}~ww|j��\}}}dd�|D�}dd�|D�}dd�|D�}|||ggS)	a�
        Reload the configuration.

        The result contains three arrays containing names of process
        groups:

        * `added` gives the process groups that have been added
        * `changed` gives the process groups whose contents have
          changed
        * `removed` gives the process groups that are no longer
          in the configuration

        @return array result  [[added, changed, removed]]

        �reloadConfigF)�do_usageNcS�g|]}|j�qSr ��name��.0�groupr r r!�
<listcomp>��z@SupervisorNamespaceRPCInterface.reloadConfig.<locals>.<listcomp>cSr[r r\r^r r r!ra�rbcSr[r r\r^r r r!ra�rb)	r,rr&�process_configrBrr�CANT_REREAD�diff_to_active)r�msg�added�changed�removedr r r!rY�s
��z,SupervisorNamespaceRPCInterface.reloadConfigcCsR|�d�|jjjD]}|j|kr"|j�|�}|sttj|��dSq
ttj	|��)z� Update the config for a running process from config file.

        @param string name         name of process group to add
        @return boolean result     true if successful
        �addProcessGroupT)
r,rr&�process_group_configsr]�add_process_grouprr�
ALREADY_ADDED�BAD_NAME)rr]�config�resultr r r!rj�s

�z/SupervisorNamespaceRPCInterface.addProcessGroupcCsB|�d�||jjvrttj|��|j�|�}|sttj|��dS)z� Remove a stopped process from the active configuration.

        @param string name         name of process group to remove
        @return boolean result     Indicates whether the removal was successful
        �removeProcessGroupT)r,r�process_groupsrrrn�remove_process_group�
STILL_RUNNING)rr]rpr r r!rq�s
z2SupervisorNamespaceRPCInterface.removeProcessGroupFcCs�g}|r9t|jj���}|��|D]$}|jj|}t|j���}|��|D]}|j|}|�||f�q'q|St|jj���}	|	��|	D]}t|j���}
|
��|
D]	}|�||f�qVqG|Sr)�listrrr�keys�sort�	processes�append�values)r�lexical�
all_processes�group_names�
group_namer`�
process_names�process_name�process�groupsrxr r r!�_getAllProcesses�s,
�
��z0SupervisorNamespaceRPCInterface._getAllProcessescCsft|�\}}|jj�|�}|durttj|��|dur|dfS|j�|�}|dur/ttj|��||fSr)r
rrr�getrrrnrx)rr]r~r�r`r�r r r!�_getGroupAndProcesssz3SupervisorNamespaceRPCInterface._getGroupAndProcessTc

s|�d�|���\}��durt��\}}|�||�Sz���\}}Wn+ty9}z	ttj|j	d��d}~wt
tfyO}z	ttj|j	d��d}~ww��
�tvr\ttj������|j���jrnttj������|r���
�tjkr���fdd�}	d|	_||	_|	SdS)z� Start a process

        @param string name Process name (or ``group:name``, or ``group:*``)
        @param boolean wait Wait for process to be fully started
        @return boolean result     Always true unless error

        �startProcessNrcsH�jr	ttj������}|tjtjfvrttj���|tjkr"dSt	S�NT)
�spawnerrrr�SPAWN_ERROR�	get_stater�STARTINGr)�ABNORMAL_TERMINATIONr)r8�r]r�r r!�onwaitIs
z<SupervisorNamespaceRPCInterface.startProcess.<locals>.onwait皙�����?T)r,r�r
�startProcessGroup�get_execv_argsr
rrrArCr	r�NOT_EXECUTABLEr�r�ALREADY_STARTED�spawnr�reapr�r��
transitionrr)�delay�rpcinterface)
rr]�waitr`r~r��filename�argvrHr�r r�r!r�s6
���

z,SupervisorNamespaceRPCInterface.startProcessc�v|�d�|jj�|���durttj|��t�j�	��}|�
��fdd�|D�}t|t|j
|d�}d|_||_|S)z� Start all processes in the group named 'name'

        @param string name     The group name
        @param boolean wait    Wait for each process to be fully started
        @return array result   An array of process status info structs
        r�Nc�g|]}�|f�qSr r �r_r��r`r r!ram�zESupervisorNamespaceRPCInterface.startProcessGroup.<locals>.<listcomp>�r�r�)r,rrrr�rrrnrurxrzrw�make_allfunc�isNotRunningr�r�r�)rr]r�rx�startallr r�r!r�]�

�z1SupervisorNamespaceRPCInterface.startProcessGroupcC�4|�d�|��}t|t|j|d�}d|_||_|S)z� Start all processes listed in the configuration file

        @param boolean wait    Wait for each process to be fully started
        @return array result   An array of process status info structs
        �startAllProcessesr�r�)r,r�r�r�r�r�r�)rr�rxr�r r r!r�vs

�z1SupervisorNamespaceRPCInterface.startAllProcessescs�|�d�|�|�\}��durt|�\}}|�||�S���tvr(ttj|����	�}|dur6ttj
|��|j��|rQ���t
vrQ�fdd�}d|_||_|SdS)a Stop a process named by name

        @param string name  The name of the process to stop (or 'group:name')
        @param boolean wait        Wait for the process to be fully stopped
        @return boolean result     Always return True unless error
        �stopProcessNcs������tvrtSdSr�)�stop_reportr�rrr �r�r r!r��sz;SupervisorNamespaceRPCInterface.stopProcess.<locals>.onwaitrT)r,r�r
�stopProcessGroupr�rrr�NOT_RUNNING�stoprNrr�rr�r�)rr]r�r`r~r�rfr�r r�r!r��s"

	z+SupervisorNamespaceRPCInterface.stopProcesscr�)z� Stop all processes in the process group named 'name'

        @param string name     The group name
        @param boolean wait    Wait for each process to be fully stopped
        @return array result   An array of process status info structs
        r�Ncr�r r r�r�r r!ra�r�zDSupervisorNamespaceRPCInterface.stopProcessGroup.<locals>.<listcomp>r�r�)r,rrrr�rrrnrurxrzrwr��	isRunningr�r�r�)rr]r�rx�killallr r�r!r��r�z0SupervisorNamespaceRPCInterface.stopProcessGroupcCr�)z� Stop all processes in the process list

        @param  boolean wait   Wait for each process to be fully stopped
        @return array result   An array of process status info structs
        �stopAllProcessesr�r�)r,r�r�r�r�r�r�)rr�rxr�r r r!r��s

�z0SupervisorNamespaceRPCInterface.stopAllProcessesc	Cs�|�d�|�|�\}}|durt|�\}}|j||d�Szt|�}Wn
ty0ttj|��w|�	�t
vr=ttj|��|�|�}|durLttj
|��dS)z� Send an arbitrary UNIX signal to the process named by name

        @param string name    Name of the process to signal (or 'group:name')
        @param string signal  Signal to send, as name ('HUP') or number ('1')
        @return boolean
        �
signalProcessN��signalT)r,r�r
�signalProcessGrouprrBrr�
BAD_SIGNALr�rr�r�rN)	rr]r�r`r�r~r��sigrfr r r!r��s 
�
z-SupervisorNamespaceRPCInterface.signalProcesscsz|jj�|��|�d��durttj|��t�j�	��}|�
��fdd�|D�}t|t|j
|d�}|�}|�d�|S)z� Send a signal to all processes in the group named 'name'

        @param string name    The group name
        @param string signal  Signal to send, as name ('HUP') or number ('1')
        @return array
        r�Ncr�r r r�r�r r!rar�zFSupervisorNamespaceRPCInterface.signalProcessGroup.<locals>.<listcomp>r�)rrrr�r,rrrnrurxrzrwr�r�r�)rr]r�rx�sendallrpr r�r!r�s

�
z2SupervisorNamespaceRPCInterface.signalProcessGroupcCs.|��}t|t|j|d�}|�}|�d�|S)z� Send a signal to all processes in the process list

        @param string signal  Signal to send, as name ('HUP') or number ('1')
        @return array         An array of process status info structs
        r��signalAllProcesses)r�r�r�r�r,)rr�rx�	signalallrpr r r!r�s
�
z2SupervisorNamespaceRPCInterface.signalAllProcessesc
Cs>|�d�g}|jjjD]�}|j|jjv}|jD]{}id|j�d|j�d|j	�d|j�d|j
�d|�d|j�d	|j�d
|j
�d|j�d|j
�d
|j�d|j�d|j�d|j�d|j�d|j�|jt|j�|j|j|j|j|j|j|jd�	�}|�dd�|��D��|�dd�|��D��|� |�qq|j!dd�d�|S)z� Get info about all available process configurations. Each struct
        represents a single process (i.e. groups get flattened).

        @return array result  An array of process config info structs
        �getAllConfigInfo�	autostart�command�	exitcodesr`�
group_prio�inuse�killasgroupr]�process_prio�redirect_stderr�startretries�	startsecs�stdout_capture_maxbytes�stdout_events_enabled�stdout_logfile�stdout_logfile_backups�stdout_logfile_maxbytes)	�
stdout_syslog�
stopsignal�stopwaitsecs�stderr_capture_maxbytes�stderr_events_enabled�stderr_logfile�stderr_logfile_backups�stderr_logfile_maxbytes�
stderr_syslogcss$�|]
\}}|tur|dfVqdS)�autoN)r�r_�k�vr r r!�	<genexpr>P��"zCSupervisorNamespaceRPCInterface.getAllConfigInfo.<locals>.<genexpr>css$�|]
\}}|dur|dfVqdS)N�noner r�r r r!r�Qr�cSs|dS)Nr]r )�rr r r!�<lambda>TszBSupervisorNamespaceRPCInterface.getAllConfigInfo.<locals>.<lambda>)�key)"r,rr&rkr]rr�process_configsr�r�r��priorityr�r�r�r�r�r�r�r�r�r�r(r�r�r�r�r�r�r�r��update�itemsryrw)r�
configinfo�gconfigr��pconfig�dr r r!r�(sl


��������	�
���
������!z0SupervisorNamespaceRPCInterface.getAllConfigInfocCs|d}|tjkrB|d}|d}tjt�|�dd��}tjt�|�dd��}||}t|�dkr8t�d�}d|d|f}|S|tjtjfvrX|d}|sVd	|d
}|S|tj	tj
fvr|dr{|d}	tjt�|	�dd��}
|
�d
�}|Sd}|Sd}|S)Nr8�start�now�rzpid %s, uptime %s�pidr�zunknown error (try "tail %s")r]r��z%b %d %I:%M %pzNot started�)
rr)�datetime�time�gmtime�_total_seconds�	timedelta�FATAL�BACKOFF�STOPPED�EXITED�	localtime�strftime)rrRr8r�r��start_dt�now_dt�uptime�descr��stop_dtr r r!�_interpretProcessInfoWs4

�
�
��z5SupervisorNamespaceRPCInterface._interpretProcessInfocCs�|�d�|�|�\}}|durttj|��t|j�}t|j�}t|���}|�	�}|j
p.d}|jp3d}	|jj
p9d}
|jjp?d}|jj|jj||||t|�||	|
|
||jd�
}|�|�}
|
|d<|S)z� Get info about a process named name

        @param string name The name of the process (or 'group:name')
        @return struct result     A structure containing data about the process
        �getProcessInfoNr�r)
r]r`r�r�r�r8r7r��
exitstatusr=r�r�r��description)r,r�rrrnr�	laststart�laststop�_nowr�r�r�ror�r�r]rr�r�)rr]r`r�r�r�r�r8r�r�r�r�rRr�r r r!r�vs:




�
z.SupervisorNamespaceRPCInterface.getProcessInfocCst��Sr)r�r0r r r!r�sz$SupervisorNamespaceRPCInterface._nowcCsN|�d�|jdd�}g}|D]\}}t|jj|jj�}|�|�|��q|S)zh Get info about all processes

        @return array result  An array of process status results
        �getAllProcessInfoT)r{)r,r�rror]ryr�)rr|�outputr`r�r]r r r!r�s
z1SupervisorNamespaceRPCInterface.getAllProcessInfoc

Cs�|�|�\}}|durttj|��t|jd|�}|dus#tj�|�s)ttj	|��z
t
t|t|�t|���WSt
yN}z|jd}	ttt|	���d}~ww)N�
%s_logfiler)r�rrrnrDror>r?r@rArrr(rBrC)
rr]rErF�channelr`r�r=rGrHr r r!�_readProcessLog�s
��z/SupervisorNamespaceRPCInterface._readProcessLogcC�|�d�|�|||d�S)aI Read length bytes from name's stdout log starting at offset

        @param string name        the name of the process (or 'group:name')
        @param int offset         offset to start reading from.
        @param int length         number of bytes to read from the log.
        @return string result     Bytes of log
        �readProcessStdoutLog�stdout�r,r�rr]rErFr r r!r��
z4SupervisorNamespaceRPCInterface.readProcessStdoutLogcCr)aI Read length bytes from name's stderr log starting at offset

        @param string name        the name of the process (or 'group:name')
        @param int offset         offset to start reading from.
        @param int length         number of bytes to read from the log.
        @return string result     Bytes of log
        �readProcessStderrLog�stderrr
rr r r!r
�rz4SupervisorNamespaceRPCInterface.readProcessStderrLogcCsb|�|�\}}|durttj|��t|jd|�}|dus#tj�|�s'gd�St	|t
|�t
|��S)Nr)r�rF)r�rrrnrDror>r?r@rr()rr]rErFrr`r�r=r r r!�_tailProcessLog�sz/SupervisorNamespaceRPCInterface._tailProcessLogcCr)a�
        Provides a more efficient way to tail the (stdout) log than
        readProcessStdoutLog().  Use readProcessStdoutLog() to read
        chunks and tailProcessStdoutLog() to tail.

        Requests (length) bytes from the (name)'s log, starting at
        (offset).  If the total log size is greater than (offset +
        length), the overflow flag is set and the (offset) is
        automatically increased to position the buffer at the end of
        the log.  If less than (length) bytes are available, the
        maximum number of available bytes will be returned.  (offset)
        returned is always the last offset in the log +1.

        @param string name         the name of the process (or 'group:name')
        @param int offset          offset to start reading from
        @param int length          maximum number of bytes to return
        @return array result       [string bytes, int offset, bool overflow]
        �tailProcessStdoutLogr	�r,rrr r r!r��
z4SupervisorNamespaceRPCInterface.tailProcessStdoutLogcCr)a�
        Provides a more efficient way to tail the (stderr) log than
        readProcessStderrLog().  Use readProcessStderrLog() to read
        chunks and tailProcessStderrLog() to tail.

        Requests (length) bytes from the (name)'s log, starting at
        (offset).  If the total log size is greater than (offset +
        length), the overflow flag is set and the (offset) is
        automatically increased to position the buffer at the end of
        the log.  If less than (length) bytes are available, the
        maximum number of available bytes will be returned.  (offset)
        returned is always the last offset in the log +1.

        @param string name         the name of the process (or 'group:name')
        @param int offset          offset to start reading from
        @param int length          maximum number of bytes to return
        @return array result       [string bytes, int offset, bool overflow]
        �tailProcessStderrLogrrrr r r!rrz4SupervisorNamespaceRPCInterface.tailProcessStderrLogc	CsZ|�d�|�|�\}}|durttj|��z|��WdSttfy,ttj|��w)z� Clear the stdout and stderr logs for the named process and
        reopen them.

        @param string name   The name of the process (or 'group:name')
        @return boolean result      Always True unless error
        �clearProcessLogsNT)	r,r�rrrn�
removelogsrMrLrN)rr]r`r�r r r!rs

��z0SupervisorNamespaceRPCInterface.clearProcessLogscsX|�d�g�g�|��}|D]
\}}��|||jf�q��fdd�}d|_||_|S)zm Clear all process log files

        @return array result   An array of process status info structs
        �clearAllProcessLogsc
s��s�S��d�\}}}t|jj|jj�}z||�Wn"ty=}z��|jj|jj|j|jd��WYd}~nd}~ww��|jj|jjtj	dd���rQt
S�S)Nr�r]r`�statusr��OK)�poprror]rry�coder+r�SUCCESSr)r`r��callbackr]�e��	callbacks�resultsr r!�clearallAs4������zESupervisorNamespaceRPCInterface.clearAllProcessLogs.<locals>.clearallr�)r,r�ry�clearProcessLogr�r�)rr|r`r�r"r rr!r3s
z3SupervisorNamespaceRPCInterface.clearAllProcessLogsc
Cs�|�d�t|tttf�sttj|��t|�}|�	|�\}}|dur(ttj
|��|jr.|jr4ttj
|��z|�|�WdStyW}z|jdtjkrRttj|���d}~ww)a� Send a string of chars to the stdin of the process name.
        If non-7-bit data is sent (unicode), it is encoded to utf-8
        before being sent to the process' stdin.  If chars is not a
        string or is not unicode, raise INCORRECT_PARAMETERS.  If the
        process is not running, raise NOT_RUNNING.  If the process'
        stdin cannot accept input (e.g. it was closed by the child
        process), raise NO_FILE.

        @param string name        The process name to send to (or 'group:name')
        @param string chars       The character data to send to the process
        @return boolean result    Always return True unless error
        �sendProcessStdinNrT)r,r%�str�bytesrrr�INCORRECT_PARAMETERSrr�rnr��killingr��writerLrC�errno�EPIPErA)rr]�charsr`r�rHr r r!r$`s$

���z0SupervisorNamespaceRPCInterface.sendProcessStdincCs:t|t�r
|�d�}t|t�r|�d�}tt||��dS)aB Send an event that will be received by event listener
        subprocesses subscribing to the RemoteCommunicationEvent.

        @param  string  type  String for the "type" key in the event header
        @param  string  data  Data for the event body
        @return boolean       Always return True unless error
        zutf-8T)r%r�encoderr)r�typer9r r r!�sendRemoteCommEvent�s



�z3SupervisorNamespaceRPCInterface.sendRemoteCommEventN)F)T)0�__name__�
__module__�__qualname__r"r,r.�
getVersionr2r3r5r:r<�readMainLogrIrUrWrYrjrqr�r�r�r�r�r�r�r�r�r�r�r�r�r�rrrr�readProcessLogr
rr�tailProcessLogrrr#rr$r/r r r r!r.s\	



J


3

/.
-&rcCs|jd|jd|jdS)Ni�Qi@B)�days�seconds�microseconds)r�r r r!r��s
��r�cKs"g}g}||||||fdd�}|S)zl Return a closure representing a function that calls a
    function for every process, and returns a result cSs||sa|D]\\}}t|jj|jj�}||�r`z
||fi|��}	Wn"tyA}
z|�|jj|jj|
j|
jd��WYd}
~
qd}
~
wwt|	tj	�rQ|�|||	f�q|�|jj|jjt
jdd��q|se|S|dd�D]L}|\}}}z|�}
Wn'ty�}
z|�|jj|jj|
j|
jd��|�|�WYd}
~
qkd}
~
ww|
t
ur�|�|jj|jjt
jdd��|�|�qk|r�t
S|S)Nrr)rror]rryrr+r%�types�FunctionTyperrrKr)rx�	predicate�func�extra_kwargsr r!r`r�r]rr�struct�cb�valuer r r!�allfunc�sn	
������

������
�zmake_allfunc.<locals>.allfuncr )rxr<r=r>r r!rBr r r!r��s
�Qr�cCs|��tvSr)r�rr�r r r!r��sr�cCs
t|�Sr)r�r�r r r!r��r#r�cCst|�Sr)rrr r r!�make_main_rpcinterface�srC),r>r�r�r*r:�supervisor.compatrrr�supervisor.datatypesrr�supervisor.optionsrrr	r
rrr
r�supervisor.eventsrr�supervisor.httpr�supervisor.xmlrpcrrr�supervisor.statesrrrrrrr/rr�r�r�r�rCr r r r!�<module>sNqZ