🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-09 09:00:42 | PHP 8.2.33
📂
/ (Root)
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
clwpos
/
__pycache__
📍 /opt/cloudlinux/venv/lib/python3.11/site-packages/clwpos/__pycache__
🔄 Refresh
✏️
Editing: redis_configuration_pid_file_cleaner.cpython-311.pyc
Read Only
� d�Kj � �` � 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
💾 Save Changes
❌ Cancel