File: //proc/self/root/proc/self/root/scripts.20110531.215904.25158/doomhttpd
#!/usr/bin/perl
# cpanel - doomhttpd Copyright(c) 2010 cPanel, Inc.
# All rights Reserved.
# copyright@cpanel.net http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited
BEGIN { unshift @INC, '/usr/local/cpanel', '/scripts'; }
use RestartSrv;
use Cpanel::OSSys;
use strict;
setuppath();
my ( $system, $nodename, $release, $version, $machine ) = Cpanel::OSSys::uname();
my ( $restart, $check, $status ) = parseargv();
my $iscript = '';
my $service = 'httpd';
my $processowner = '';
( $processowner, $service ) = servicefixup( $system, $service );
$iscript = getinitfile( $service, $system );
nooutputsystem( "$iscript", "stop" );
doomedprocess($service);