Skip to content

Commit be47c78

Browse files
committedJan 8, 2012
Have to tell nginx that "stop" is a signal.
1 parent 9186ce7 commit be47c78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎wre/lib/WRE/Nginx.pm

+1-1
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")." stop";
117+
my $cmd = $wreConfig->getRoot("/prereqs/sbin/nginx")." -c ".$wreConfig->getRoot("/etc/modproxy.conf")." -s stop";
118118
`$cmd`; # catch command line output
119119
my $count = 0;
120120
my $success = 0;

0 commit comments

Comments
 (0)
Please sign in to comment.