ACIL FM
Dark
Refresh
Current DIR:
/opt/cloudlinux/venv/lib/python3.11/site-packages/clwpos
/
opt
cloudlinux
venv
lib
python3.11
site-packages
clwpos
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
bin
-
chmod
Open
Rename
Delete
cli_versions
-
chmod
Open
Rename
Delete
feature_suites
-
chmod
Open
Rename
Delete
hooks
-
chmod
Open
Rename
Delete
migrations
-
chmod
Open
Rename
Delete
object_cache
-
chmod
Open
Rename
Delete
optimization_features
-
chmod
Open
Rename
Delete
php
-
chmod
Open
Rename
Delete
user
-
chmod
Open
Rename
Delete
__pycache__
-
chmod
Open
Rename
Delete
billing.py
6.24 MB
chmod
View
DL
Edit
Rename
Delete
cl_wpos_exceptions.py
3.59 MB
chmod
View
DL
Edit
Rename
Delete
constants.py
5.56 MB
chmod
View
DL
Edit
Rename
Delete
create_user_uid_dirs.py
754 B
chmod
View
DL
Edit
Rename
Delete
cron.py
2.14 MB
chmod
View
DL
Edit
Rename
Delete
daemon.py
37.12 MB
chmod
View
DL
Edit
Rename
Delete
daemon_base.py
2.84 MB
chmod
View
DL
Edit
Rename
Delete
daemon_config.py
621 B
chmod
View
DL
Edit
Rename
Delete
daemon_redis_lib.py
11.93 MB
chmod
View
DL
Edit
Rename
Delete
daemon_subscription_handler.py
6.44 MB
chmod
View
DL
Edit
Rename
Delete
data_collector_utils.py
9.42 MB
chmod
View
DL
Edit
Rename
Delete
logsetup.py
4.04 MB
chmod
View
DL
Edit
Rename
Delete
papi.py
9.87 MB
chmod
View
DL
Edit
Rename
Delete
parse.py
2.1 MB
chmod
View
DL
Edit
Rename
Delete
redis_configuration_pid_file_cleaner.py
1.01 MB
chmod
View
DL
Edit
Rename
Delete
report_generator.py
21.18 MB
chmod
View
DL
Edit
Rename
Delete
scoped_cache.py
1.34 MB
chmod
View
DL
Edit
Rename
Delete
socket_utils.py
4.03 MB
chmod
View
DL
Edit
Rename
Delete
stats.py
12.02 MB
chmod
View
DL
Edit
Rename
Delete
utils.py
58.25 MB
chmod
View
DL
Edit
Rename
Delete
whmcs_utils.py
9.36 MB
chmod
View
DL
Edit
Rename
Delete
wpos_admin.py
67.14 MB
chmod
View
DL
Edit
Rename
Delete
wpos_hooks.py
4.85 MB
chmod
View
DL
Edit
Rename
Delete
wpos_req_scanner.py
4.38 MB
chmod
View
DL
Edit
Rename
Delete
wp_config.py
725 B
chmod
View
DL
Edit
Rename
Delete
wp_utils.py
16.33 MB
chmod
View
DL
Edit
Rename
Delete
__init__.py
928 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /opt/cloudlinux/venv/lib/python3.11/site-packages/clwpos/redis_configuration_pid_file_cleaner.py
#!/opt/cloudlinux/venv/bin/python3 -bb # -*- coding: utf-8 -*- # # Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2021 All Rights Reserved # # Licensed under CLOUD LINUX LICENSE AGREEMENT # http://cloudlinux.com/docs/LICENCE.TXT import os from clwpos.constants import CLWPOS_OPT_DIR, ALT_PHP_PREFIX, EA_PHP_PREFIX, PLESK_PHP_PREFIX from clwpos.utils import RedisConfigurePidFile, is_php_redis_configuration_running def main(): """ Clean up pid files with non-existent processes in '/opt/clwpos' directory. """ php_prefixes = (ALT_PHP_PREFIX, EA_PHP_PREFIX, PLESK_PHP_PREFIX) clwpos_opt_dir_content = os.listdir(CLWPOS_OPT_DIR) for item in clwpos_opt_dir_content: for prefix in php_prefixes: if item.endswith('.pid') and item.startswith(prefix) and \ not is_php_redis_configuration_running(prefix): pid_file = RedisConfigurePidFile(prefix) pid_file.remove() break if __name__ == '__main__': main()
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply