Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Have to tell nginx that "stop" is a signal.
  • Loading branch information
perlDreamer committed Jan 8, 2012
1 parent 9186ce7 commit be47c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wre/lib/WRE/Nginx.pm
Expand Up @@ -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")." stop";
my $cmd = $wreConfig->getRoot("/prereqs/sbin/nginx")." -c ".$wreConfig->getRoot("/etc/modproxy.conf")." -s stop";
`$cmd`; # catch command line output
my $count = 0;
my $success = 0;
Expand Down

0 comments on commit be47c78

Please sign in to comment.