/usr/lib/python2.6/site-packages/supervisor
Edit: /usr/lib/python2.6/site-packages/supervisor/pidproxy.pyc (2658B)
Ñò
FATc @ sq d d k Z d d k Z d d k Z d d k Z d d d „ ƒ YZ e d j o e e i ƒ Z e i ƒ n d S( iÿÿÿÿNt PidProxyc B sD e Z d Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C s | i ƒ y> | d | d | _ } t i i | d ƒ | _ | | _ Wn0 t t f j
o | i ƒ t
i d ƒ n Xd S( Ni i i ( t
setsignalst pidfilet ost patht abspatht commandt cmdargst
ValueErrort
IndexErrort usaget syst exit( t selft argsR ( ( s7 /usr/lib/python2.6/site-packages/supervisor/pidproxy.pyt __init__ s
c C sˆ t i t i | i | i ƒ | _ x` t i d ƒ y t i d t i ƒ \ } } Wn" t i
j
o d \ } } n X| o Pq$ q$ d S( Ni iÿÿÿÿ( NN( R t spawnvt P_NOWAITR R t pidt timet sleept waitpidt WNOHANGt errort None( R
R t sts( ( s7 /usr/lib/python2.6/site-packages/supervisor/pidproxy.pyt go s !
c C s d GHd S( Ns4 pidproxy.py
[ ...]( ( R
( ( s7 /usr/lib/python2.6/site-packages/supervisor/pidproxy.pyR
s c C sˆ t i t i | i ƒ t i t i | i ƒ t i t i | i ƒ t i t i | i ƒ t i t i | i ƒ t i t i | i ƒ d S( N( t signalt SIGTERMt passtochildt SIGHUPt SIGINTt SIGUSR1t SIGUSR2t SIGCHLDt reap( R
( ( s7 /usr/lib/python2.6/site-packages/supervisor/pidproxy.pyR # s c C s d S( N( ( R
t sigt frame( ( s7 /usr/lib/python2.6/site-packages/supervisor/pidproxy.pyR# + s c C s‰ y( t t | i d ƒ i ƒ i ƒ ƒ } Wn d } d | i GHd SXt i | | ƒ | t i t i
t i g j o t i
d ƒ n d S( Nt rs Can't read child pidfile %s!i ( t intt openR t readt stripR R t killR R R t SIGQUITR R ( R
R$ R% R ( ( s7 /usr/lib/python2.6/site-packages/supervisor/pidproxy.pyR / s (N(
t __name__t
__module__R R R R R
R R# R ( ( ( s7 /usr/lib/python2.6/site-packages/supervisor/pidproxy.pyR s
t __main__( ( R R R R R R- t argvt ppR ( ( ( s7 /usr/lib/python2.6/site-packages/supervisor/pidproxy.pyt s 1