GRAYBYTE WORDPRESS FILE MANAGER2378

Server IP : 68.65.123.43 / Your IP : 216.73.216.162
System : Linux server266.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/local/lsws/bin/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/local/lsws/bin//wswatch.sh
#!/bin/sh

BASE_DIR=`dirname "$0"`
cd "$BASE_DIR"
BASE_DIR=`pwd`


while [ "1" -eq "1" ]; do

ERR=1
if [ -f /tmp/lshttpd/lshttpd.pid ]; then
    kill -0 `cat /tmp/lshttpd/lshttpd.pid` 2>/dev/null
    ERR=$?
fi

if [ $ERR -ne 0 ]; then
    sleep 10
    if [ -f /tmp/lshttpd/lshttpd.pid ]; then
        kill -0 `cat /tmp/lshttpd/lshttpd.pid` 2>/dev/null
        ERR=$?
    fi
fi

if [ $ERR -ne 0 ]; then
    D=`date`
    echo "$D: LSWS stopped, start LSWS." >> $BASE_DIR/../logs/wswatch.log
    if [ -f /usr/sbin/service ]; then
        /usr/sbin/service lsws start >> $BASE_DIR/../logs/wswatch.log 2>&1
    else 
        if [ -f /sbin/service ]; then
            /sbin/service lsws start >> $BASE_DIR/../logs/wswatch.log 2>&1
        else
            service lsws start >> $BASE_DIR/../logs/wswatch.log 2>&1
        fi
    fi
fi
sleep 2

done


[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
June 13 2025 15:30:19
root / root
0755
httpd
241.023 KB
June 13 2025 15:30:19
root / root
0555
litespeed
7.33 MB
June 13 2025 15:30:19
root / root
0555
lscgid
241.023 KB
June 13 2025 15:30:19
root / root
0555
lscgid.6.2.1
78.219 KB
March 21 2024 11:04:43
root / root
0555
lscgid.6.2.2
78.266 KB
July 10 2024 02:30:10
root / root
0555
lscgid.6.3.1
206.172 KB
February 04 2025 16:30:13
root / root
0555
lscgid.6.3.2
241.023 KB
April 15 2025 15:30:18
root / root
0555
lscgid.6.3.3
241.023 KB
June 13 2025 15:30:19
root / root
0555
lshttpd
7.33 MB
June 13 2025 15:30:19
root / root
0555
lshttpd.6.2.1
7.26 MB
March 21 2024 11:04:43
root / root
0555
lshttpd.6.2.2
7.26 MB
July 10 2024 02:30:10
root / root
0555
lshttpd.6.3.1
7.31 MB
February 04 2025 16:30:13
root / root
0555
lshttpd.6.3.2
7.33 MB
April 15 2025 15:30:18
root / root
0555
lshttpd.6.3.3
7.33 MB
June 13 2025 15:30:19
root / root
0555
lswsctrl
6.33 KB
June 13 2025 15:30:19
root / root
0555
lswsctrl.6.2.1
6.293 KB
March 21 2024 11:04:43
root / root
0555
lswsctrl.6.2.2
6.293 KB
July 10 2024 02:30:10
root / root
0555
lswsctrl.6.3.1
6.293 KB
February 04 2025 16:30:13
root / root
0555
lswsctrl.6.3.2
6.33 KB
April 15 2025 15:30:18
root / root
0555
lswsctrl.6.3.3
6.33 KB
June 13 2025 15:30:19
root / root
0555
wswatch.sh
0.823 KB
June 13 2025 15:30:19
root / root
0555

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF