Skip to content

Commit c8da009

Browse files
committedJan 8, 2012
No more modproxy!
1 parent be47c78 commit c8da009

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎wre/lib/WRE/Nginx.pm

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ sub stop {
114114
unless ($wreConfig->get("nginx/port") > 1024 || $host->isPrivilegedUser) {
115115
croak "You are not an administrator on this machine so you cannot stop services with ports 1-1024.";
116116
}
117-
my $cmd = $wreConfig->getRoot("/prereqs/sbin/nginx")." -c ".$wreConfig->getRoot("/etc/modproxy.conf")." -s stop";
117+
my $cmd = $wreConfig->getRoot("/prereqs/sbin/nginx")." -c ".$wreConfig->getRoot("/etc/nginx.conf")." -s stop";
118118
`$cmd`; # catch command line output
119119
my $count = 0;
120120
my $success = 0;
@@ -123,7 +123,7 @@ sub stop {
123123
$count++;
124124
}
125125
if ($success) {
126-
$wreConfig->set("wreMonitor/modproxyAdministrativelyDown", 1);
126+
$wreConfig->set("wreMonitor/nginxAdministrativelyDown", 1);
127127
}
128128
return $success;
129129
}

0 commit comments

Comments
 (0)