Current Path : /home/thomas/public_html/Fox-C404/root/scripts/ |
Current File : /home/thomas/public_html/Fox-C404/root/scripts/reswhostmgr |
#!/usr/local/cpanel/3rdparty/bin/perl use Cpanel::OSSys (); if ( my $pid = fork() ) { exit; } else { for ( my $i = 0; $i < 512; $i++ ) { Cpanel::OSSys::close($i); } Cpanel::OSSys::setsid(); system( "killall", "-9", "whostmgrd" ); system("/usr/local/cpanel/whostmgr/bin/whostmgrd"); }