Server IP : 162.0.209.157 / Your IP : 3.144.89.0 [ Web Server : LiteSpeed System : Linux premium178.web-hosting.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64 User : balaoqob ( 2395) PHP Version : 8.0.30 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /usr/local/lsws/admin/misc/ |
Upload File : |
#!/bin/sh LS_PID="" LS_CONF=%LSWS_HOME%/conf/httpd_config.xml if [ "x$1" == "x--restart" ] || [ "x$1" == "x" ]; then if [ -f '/tmp/lshttpd/lshttpd.pid' ]; then LSPID=`cat /tmp/lshttpd/lshttpd.pid` kill -0 $LSPID if [ $? -eq 0 ]; then touch /var/run/restartsrv_httpd.lock service lsws restart unlink /var/run/restartsrv_httpd.lock fi fi PORT_OFFSET_CONF=`grep apachePortOffset "$LS_CONF"` PORT_OFFSET=`expr "$PORT_OFFSET_CONF" : '.*<apachePortOffset>\(.*\)</apachePortOffset>'` if [ "x$PORT_OFFSET" != 'x' ] && [ "$PORT_OFFSET" -ne 0 ]; then /scripts/restartsrv_httpd_ls_bak $@ fi else /scripts/restartsrv_httpd_ls_bak $@ fi