Uname:Linux 81-12-52-146.cprapid.com 4.18.0-553.76.1.lve.el8.x86_64 #1 SMP Wed Oct 1 16:05:07 UTC 2025 x86_64

403WebShell
403Webshell
Server IP : 185.143.234.238  /  Your IP : 185.215.232.195
Web Server : Apache
System : Linux 81-12-52-146.cprapid.com 4.18.0-553.76.1.lve.el8.x86_64 #1 SMP Wed Oct 1 16:05:07 UTC 2025 x86_64
User : noavaranesama ( 1039)
PHP Version : 8.2.29
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/python-cllib/scriptlets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/python-cllib/scriptlets/rpm_post.sh
#!/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

# 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"

Youez - 2016 - github.com/yon3zu
LinuXploit