PATH:
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
clwpos
/
__pycache__
� 4�i � �` � d dl Z d dlmZmZmZmZ d dlmZmZ d� Z e dk r e � � dS dS )� N)�CLWPOS_OPT_DIR�ALT_PHP_PREFIX� EA_PHP_PREFIX�PLESK_PHP_PREFIX)�RedisConfigurePidFile�"is_php_redis_configuration_runningc �0 � t t t f} t j t � � }|D ]e}| D ]`}|� d� � rI|� |� � r4t |� � s%t |� � }|� � � n�a�fdS )zT Clean up pid files with non-existent processes in '/opt/clwpos' directory. z.pidN)r r r �os�listdirr �endswith� startswithr r �remove)�php_prefixes�clwpos_opt_dir_content�item�prefix�pid_files �1py/clwpos/redis_configuration_pid_file_cleaner.py�mainr s� � � #�M�3C�D�L��Z��7�7��&� � ��"� � �F��}�}�V�$�$� �����)@�)@� �:�6�B�B� �0��8�8�����!�!�!����� � � �__main__)r �clwpos.constantsr r r r �clwpos.utilsr r r �__name__� r r �<module>r s �� � � � � \� \� \� \� \� \� \� \� \� \� \� \� R� R� R� R� R� R� R� R� � � � �z����D�F�F�F�F�F� �r
[+]
..
[-] constants.cpython-311.pyc
[edit]
[-] wpos_hooks.cpython-311.opt-1.pyc
[edit]
[-] billing.cpython-311.opt-1.pyc
[edit]
[-] daemon_subscription_handler.cpython-311.pyc
[edit]
[-] utils.cpython-311.pyc
[edit]
[-] __init__.cpython-311.pyc
[edit]
[-] scoped_cache.cpython-311.opt-1.pyc
[edit]
[-] parse.cpython-311.pyc
[edit]
[-] utils.cpython-311.opt-1.pyc
[edit]
[-] create_user_uid_dirs.cpython-311.opt-1.pyc
[edit]
[-] constants.cpython-311.opt-1.pyc
[edit]
[-] whmcs_utils.cpython-311.pyc
[edit]
[-] cron.cpython-311.pyc
[edit]
[-] daemon.cpython-311.pyc
[edit]
[-] cl_wpos_exceptions.cpython-311.opt-1.pyc
[edit]
[-] redis_configuration_pid_file_cleaner.cpython-311.opt-1.pyc
[edit]
[-] daemon_config.cpython-311.pyc
[edit]
[-] daemon_base.cpython-311.pyc
[edit]
[-] whmcs_utils.cpython-311.opt-1.pyc
[edit]
[-] daemon.cpython-311.opt-1.pyc
[edit]
[-] wp_utils.cpython-311.opt-1.pyc
[edit]
[-] wp_config.cpython-311.pyc
[edit]
[-] daemon_config.cpython-311.opt-1.pyc
[edit]
[-] stats.cpython-311.opt-1.pyc
[edit]
[-] papi.cpython-311.opt-1.pyc
[edit]
[-] wp_config.cpython-311.opt-1.pyc
[edit]
[-] daemon_redis_lib.cpython-311.opt-1.pyc
[edit]
[-] daemon_base.cpython-311.opt-1.pyc
[edit]
[-] create_user_uid_dirs.cpython-311.pyc
[edit]
[-] billing.cpython-311.pyc
[edit]
[-] report_generator.cpython-311.opt-1.pyc
[edit]
[-] wp_utils.cpython-311.pyc
[edit]
[-] logsetup.cpython-311.pyc
[edit]
[-] __init__.cpython-311.opt-1.pyc
[edit]
[-] wpos_hooks.cpython-311.pyc
[edit]
[-] redis_configuration_pid_file_cleaner.cpython-311.pyc
[edit]
[-] report_generator.cpython-311.pyc
[edit]
[-] cl_wpos_exceptions.cpython-311.pyc
[edit]
[-] stats.cpython-311.pyc
[edit]
[-] wpos_req_scanner.cpython-311.pyc
[edit]
[-] data_collector_utils.cpython-311.pyc
[edit]
[-] cron.cpython-311.opt-1.pyc
[edit]
[-] logsetup.cpython-311.opt-1.pyc
[edit]
[-] socket_utils.cpython-311.opt-1.pyc
[edit]
[-] data_collector_utils.cpython-311.opt-1.pyc
[edit]
[-] socket_utils.cpython-311.pyc
[edit]
[-] scoped_cache.cpython-311.pyc
[edit]
[-] parse.cpython-311.opt-1.pyc
[edit]
[-] daemon_subscription_handler.cpython-311.opt-1.pyc
[edit]
[-] wpos_admin.cpython-311.pyc
[edit]
[-] papi.cpython-311.pyc
[edit]
[-] wpos_admin.cpython-311.opt-1.pyc
[edit]
[-] wpos_req_scanner.cpython-311.opt-1.pyc
[edit]
[-] daemon_redis_lib.cpython-311.pyc
[edit]