????
Current Path : /scripts/ |
Current File : //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"); }