Linux sagir-us1.hostever.us 5.14.0-570.51.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 8 09:41:34 EDT 2025 x86_64
LiteSpeed
Server IP : 104.247.108.91 & Your IP : 216.73.216.105
Domains : 74 Domain
User : georgeto
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
etc /
rc.d /
rc3.d /
Delete
Unzip
Name
Size
Permission
Date
Action
S50php-fpm56
2.38
KB
-rwxr-xr-x
2025-02-25 04:06
S50php-fpm70
2.38
KB
-rwxr-xr-x
2025-02-25 04:06
S50php-fpm71
2.38
KB
-rwxr-xr-x
2025-02-25 04:06
S50php-fpm72
2.38
KB
-rwxr-xr-x
2025-02-25 04:05
S50php-fpm73
2.38
KB
-rwxr-xr-x
2025-02-25 04:05
S50php-fpm74
2.38
KB
-rwxr-xr-x
2025-02-25 04:05
S50php-fpm80
2.38
KB
-rwxr-xr-x
2025-02-25 04:05
S50php-fpm81
2.38
KB
-rwxr-xr-x
2025-02-25 04:04
S50php-fpm82
2.38
KB
-rwxr-xr-x
2025-02-25 04:04
S50php-fpm83
2.38
KB
-rwxr-xr-x
2025-02-25 04:04
S50pure-ftpd
2.14
KB
-rwxr-xr-x
2025-02-25 04:06
S99webuzo
4.46
KB
-rwxr-xr-x
2026-04-16 10:32
S99webuzo-onboot
1.98
KB
-rwxr-xr-x
2026-04-16 10:32
Save
Rename
#!/bin/bash # ### BEGIN INIT INFO # Provides: webuzo # Required-Start: $local_fs $remote_fs $network $syslog $named # Required-Stop: $local_fs $remote_fs $network $syslog $named # Should-Start: $network $time # Should-Stop: $network $time # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Webuzo is a Control Panel. # Description: Webuzo is a LAMP Stack and a Single User Control Panel which helps you deploy Apps on your server. "webuzo". ### END INIT INFO # (c) Softaculous Ltd. # Service for EMPS (WEBUZO) # # chkconfig: 2345 99 90 # description: Webuzo is a LAMP Stack and a Single User Control Panel \ # which helps you deploy Apps on your server, \ # virtual machine or in the cloud. # # processname: webuzo # config: /usr/local/emps/etc # RETVAL=0 # See how we were called. case "$1" in start) # Remove the check file first rm -rf /usr/local/webuzo/webuzo-manually-stopped \cp -f /usr/local/webuzo/conf/webuzo/emps/fastcgi_params /usr/local/emps/etc/nginx/ # Create a hardlink for the Webuzo Service file if [ -f /usr/bin/systemctl ] || [ -f /bin/systemctl ] ; then if [ ! -f /etc/systemd/system/webuzo.service ] ; then echo "Creating webuzo.service file for systemd" echo "Creating webuzo.service file for systemd" > /var/webuzo/service ln /usr/local/webuzo/conf/webuzo/emps/webuzo.service /etc/systemd/system/webuzo.service # Enable the service as well systemctl enable webuzo fi fi # 1. Ensure the file exists (creates it if missing, does nothing if present) touch /usr/local/emps/var/log/web.access.log # 2. Force permissions to 0640 immediately chmod 0640 /usr/local/emps/var/log/web.access.log /usr/local/emps/bin/fpmctl start /usr/local/emps/bin/nginxctl start # Do a service check /usr/local/emps/bin/php /usr/local/webuzo/service_check.php >> /var/webuzo/service 2>&1 & echo "DONE ! Starting services" >> /var/webuzo/service ;; stop) touch /usr/local/webuzo/webuzo-manually-stopped /usr/local/emps/bin/fpmctl stop /usr/local/emps/bin/nginxctl stop currtime=$(date +%s) diffallowed=60 killall -9 /usr/local/emps/sbin/nginx > /dev/null 2>&1 rm -rf /usr/local/emps/var/log/nginx/nginx.pid # Kill dead NGINX processes filemtime=$(stat -c %Y "/usr/local/emps/var/nginx_stop_time" 2>/dev/null) diff=$(( (currtime - filemtime) )) if [ $diff -lt $diffallowed ]; then echo "Checking and killing NGINX processes whose binaries are deleted ($diff) !"; ls -l /proc/*/exe 2>/dev/null | grep "/usr/local/emps/sbin/nginx" | awk -F '/proc/' '{print $2}' | awk -F '/exe' '{print $1}' | xargs kill -9 > /dev/null 2>&1 fi touch /usr/local/emps/var/nginx_stop_time killall -9 /usr/local/emps/sbin/php-fpm > /dev/null 2>&1 rm -rf /usr/local/emps/var/php-fpm.pid rm -rf /usr/local/emps/var/fpm-webuzo.sock rm -rf /usr/local/emps/var/fpm-root.sock # Kill dead php-fpm processes filemtime=$(stat -c %Y "/usr/local/emps/var/phpfpm_stop_time" 2>/dev/null) diff=$(( (currtime - filemtime) )) if [ $diff -lt $diffallowed ]; then echo "Checking and killing PHP-FPM processes whose binaries are deleted ($diff) !"; ls -l /proc/*/exe 2>/dev/null | grep "/usr/local/emps/sbin/php-fpm" | awk -F '/proc/' '{print $2}' | awk -F '/exe' '{print $1}' | xargs kill -9 > /dev/null 2>&1 fi touch /usr/local/emps/var/phpfpm_stop_time ;; status) /usr/local/emps/bin/fpmctl status /usr/local/emps/bin/nginxctl status ;; restart|reload) # 1. Ensure the file exists (creates it if missing, does nothing if present) touch /usr/local/emps/var/log/web.access.log # 2. Force permissions to 0640 immediately chmod 0640 /usr/local/emps/var/log/web.access.log cd "$CWD" $0 stop rm -rf /usr/local/webuzo/webuzo-manually-stopped $0 start ;; script-restart) /usr/local/emps/bin/fpmctl stop rm -rf /usr/local/webuzo/webuzo-manually-stopped /usr/local/emps/bin/fpmctl start ;; server-restart) /usr/local/emps/bin/nginxctl stop rm -rf /usr/local/webuzo/webuzo-manually-stopped # 1. Ensure the file exists (creates it if missing, does nothing if present) touch /usr/local/emps/var/log/web.access.log # 2. Force permissions to 0640 immediately chmod 0640 /usr/local/emps/var/log/web.access.log /usr/local/emps/bin/nginxctl start ;; server-reload) rm -rf /usr/local/webuzo/webuzo-manually-stopped reload_ret=`/usr/local/emps/sbin/nginx -s reload` if [ $? == "0" ] ; then echo "Reloading nginx: Done..." fi ;; *) echo $"Usage: $0 {start|stop|restart|status}" RETVAL=2 esac exit $RETVAL