Cylul007 Webshell
Server :
Linux ip-148-66-134-25.ip.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els10.x86_64 #1 SMP Fri Oct 11 21:40:41 UTC 2024 x86_64
php :
8.0.30
on
cgi-fcgi
Time
25 Nov 2024 16:52:55
Current Directory :
/
scripts
/
Upload File :
Mass Deface
Home
Bypass Passwd
Current File : //scripts/update_mysql_systemd_config
#!/usr/local/cpanel/3rdparty/bin/perl # cpanel - scripts/update_mysql_systemd_config Copyright 2022 cPanel, L.L.C. # All rights reserved. # copyright@cpanel.net http://cpanel.net # This code is subject to the cPanel license. Unauthorized copying is prohibited package scripts::update_mysql_systemd_config; use strict; use warnings; use parent qw( Cpanel::HelpfulScript ); =encoding utf-8 =head1 USAGE update_mysql_systemd_config [ --help ] =head1 DESCRIPTION This script checks if MySQL/MariaDB's systemd configuration needs some additional options. If so, it'll add them and do a daemon-reload and then restart MySQL/MariaDB. =cut use Cpanel::OS (); use Cpanel::MysqlUtils::Systemd::ProtectHome (); use constant _OPTIONS => (); run(@ARGV) if !caller; sub run { my (@args) = @_; my $self = __PACKAGE__->new(@args); return $self->script(); } sub script { my ($self) = @_; if ( Cpanel::OS::is_systemd() ) { Cpanel::MysqlUtils::Systemd::ProtectHome::set_unset_protecthome_if_needed(); } else { $self->say_maketext('This system does not use [asis,systemd].'); } return 1; } 1;
./LuLlaby007 ♥ Tata Cantik - Copyright 2k18