- GRAYBYTE UNDETECTABLE CODES -

403Webshell
Server IP : 184.154.167.98  /  Your IP : 18.222.98.91
Web Server : Apache
System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : puertode ( 1767)
PHP Version : 8.2.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/libexec/cloudlinux-backup/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/libexec/cloudlinux-backup/post-mysql-thaw-script
#!/bin/bash

source /etc/cloudlinux-backup/mysql_freeze.config

echo "$(date -Ins) - Post-thaw script started." >> "$FREEZE_LOGFILE"

if [ ! -e "$FREEZE_LOCKFILE" ]; then
  echo "$(date -Ins) - No freeze lock file found. Skip." >> "$FREEZE_LOGFILE"
  exit 0
fi

FREEZE_SESSION_PID=$(cat "$FREEZE_LOCKFILE")

echo "$(date -Ins) - Terminating freeze session. PID is $FREEZE_SESSION_PID." >> "$FREEZE_LOGFILE"
pkill -9 -P $FREEZE_SESSION_PID

echo "$(date -Ins) - Deleting freeze lock file..." >> "$FREEZE_LOGFILE"
rm -f "$FREEZE_LOCKFILE"

echo "$(date -Ins) - Unfreeze successful." >> "$FREEZE_LOGFILE"

Youez - 2016 - github.com/yon3zu
LinuXploit