One Hat Cyber Team
Your IP :
216.73.216.50
Server IP :
157.15.65.100
Server :
Linux 157-15-65-100.cprapid.com 5.14.0-362.24.2.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 30 14:11:54 EDT 2024 x86_64
Server Software :
Apache
PHP Version :
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
python-cllib
/
scriptlets
/
Edit File:
rpm_post.sh
#!/usr/bin/bash # RPM post script, no arguments # Note: Also called from Debian alt-python27-cllib.postinst scriptlet # Arguments: # $1 - CL venv dir path - /opt/cloudlinux/venv # $2 - hook marker file - /usr/share/cloudlinux/hooks/.inuse.tmp # "python-cllib POST INSTALL STARTED" # /opt/cloudlinux/venv/bin/python3 /opt/cloudlinux/venv/usr/bin/cpapirebuildcache "$1"/bin/python3 "$1"/usr/bin/cpapirebuildcache # TODO: Once the full migration from Python 3.7 to 3.11 is completed, # the line below can be safely removed /opt/alt/python37/bin/python3 /opt/alt/python37/usr/bin/cpapirebuildcache # create temporary marker which means that newly # installed packege uses universal hooks #touch /usr/share/cloudlinux/hooks/.inuse.tmp touch "$2" # run /usr/sbin/panel_users_counter /usr/sbin/getpaneluserscount # "python-cllib POST INSTALL FINISHED"
Simpan