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