Skip to content
Permalink
Browse files

No more modproxy!

  • Loading branch information...
perlDreamer committed Jan 8, 2012
1 parent be47c78 commit c8da009693013b479cf20c6e0ec2cdfef02bfa8e
Showing with 2 additions and 2 deletions.
  1. +2 −2 wre/lib/WRE/Nginx.pm
@@ -114,7 +114,7 @@ sub stop {
unless ($wreConfig->get("nginx/port") > 1024 || $host->isPrivilegedUser) {
croak "You are not an administrator on this machine so you cannot stop services with ports 1-1024.";
}
my $cmd = $wreConfig->getRoot("/prereqs/sbin/nginx")." -c ".$wreConfig->getRoot("/etc/modproxy.conf")." -s stop";
my $cmd = $wreConfig->getRoot("/prereqs/sbin/nginx")." -c ".$wreConfig->getRoot("/etc/nginx.conf")." -s stop";
`$cmd`; # catch command line output
my $count = 0;
my $success = 0;
@@ -123,7 +123,7 @@ sub stop {
$count++;
}
if ($success) {
$wreConfig->set("wreMonitor/modproxyAdministrativelyDown", 1);
$wreConfig->set("wreMonitor/nginxAdministrativelyDown", 1);
}
return $success;
}

0 comments on commit c8da009

Please sign in to comment.
You can’t perform that action at this time.