+
    @žÀjó	  ã                   ó.   € ^ RI t ^ RIt^tRR ltRR ltR# )é    Nc                ór  € \        \        P                  P                  R^ 4      4      p\        \        P                  P                  R^ 4      4      pV\        P                  ! 4       8w  d   ^ # V '       dA   \        P                  P                  RR4       \        P                  P                  RR4       V# )a   
Get the number of sockets inherited from systemd socket activation.

:param unset_environment: clear systemd environment variables unless False
:type unset_environment: bool
:return: the number of sockets to inherit from systemd socket activation
:rtype: int

Returns zero immediately if $LISTEN_PID is not set to the current pid.
Otherwise, returns the number of systemd activation sockets specified by
$LISTEN_FDS.

When $LISTEN_PID matches the current pid, unsets the environment variables
unless the ``unset_environment`` flag is ``False``.

.. note::
    Unlike the sd_listen_fds C function, this implementation does not set
    the FD_CLOEXEC flag because the gunicorn arbiter never needs to do this.

.. seealso::
    `<https://www.freedesktop.org/software/systemd/man/sd_listen_fds.html>`_

Ú
LISTEN_FDSÚ
LISTEN_PIDN)ÚintÚosÚenvironÚgetÚgetpidÚpop)Úunset_environmentÚfdsÚ
listen_pids   &  Úd/var/www/html/mycamper/aliexpress-site/backend/venv/lib/python3.14/site-packages/gunicorn/systemd.pyÚ
listen_fdsr      ss   € ô0 Œb�j‰j�n‰n˜\¨1Ó-Ó
.€CÜ”R—Z‘Z—^‘^ L°!Ó4Ó5€Jà”R—Y’Y“[Ô ÙçÜ
�
‰
�‰�| TÔ*Ü
�
‰
�‰�| TÔ*à€Jó    c                óÈ  € \         P                  P                  R4      pVf   R# Rp \        P                  ! \        P                  \        P
                  \        P                  ,          4      pV^ ,          R8X  d   RVR,          ,           pVP                  V4       VP                  V P                  R4      4       V'       d    \         P                  P                  R4       Ve   VP                  4        R# R#   \         d    TP                  RRR	7        L_i ; i  T'       d    \         P                  P                  R4       Te   TP                  4        i i ; i)
aæ  Send a notification to systemd. state is a string; see
the man page of sd_notify (http://www.freedesktop.org/software/systemd/man/sd_notify.html)
for a description of the allowable values.

If the unset_environment parameter is True, sd_notify() will unset
the $NOTIFY_SOCKET environment variable before returning (regardless of
whether the function call itself succeeded or not). Further calls to
sd_notify() will then fail, but the variable is no longer inherited by
child processes.
ÚNOTIFY_SOCKETNÚ@Ú :é   NNzutf-8z$Exception while invoking sd_notify()T)Úexc_info)r   r   r	   ÚsocketÚAF_UNIXÚ
SOCK_DGRAMÚSOCK_CLOEXECÚconnectÚsendallÚencodeÚ	ExceptionÚdebugr   Úclose)ÚstateÚloggerr   ÚaddrÚsocks   &&&  r   Ú	sd_notifyr&   0   sý   € ô �:‰:�>‰>˜/Ó*€DØ‚|áØ€DðÜ�}Š}œVŸ^™^¬V×->Ñ->Ä×ATÑATÕ-TÓUˆØ��7�cŒ>Ø˜$˜r�(•?ˆDØ�‰�TÔØ�‰�U—\‘\ 'Ó*Ô+÷ Ü�J‰J�N‰N˜?Ô+ØÒØ�J‰JŽLñ øô ô LØ�‰Ð;ÀdˆÖKðLû÷ Ü�J‰J�N‰N˜?Ô+ØÒØ�J‰J�Lð ús$   ©BC? Ã?D ÄD# ÄD Ä D# Ä#>E!)T)F)r   r   ÚSD_LISTEN_FDS_STARTr   r&   © r   r   Ú<module>r)      s   ðó
 
Û àÐ ô"öJr   