Skip to content

Commit 9186ce7

Browse files
committedJan 8, 2012
nginx installs into sbin, I guess.
1 parent ccdb7ef commit 9186ce7

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
@@ -82,7 +82,7 @@ sub start {
8282
unless ($wreConfig->get("nginx/port") > 1024 || $host->isPrivilegedUser) {
8383
croak "You are not an administrator on this machine so you cannot start services with ports 1-1024.";
8484
}
85-
my $cmd = $wreConfig->getRoot("/prereqs/bin/nginx")." -c ".$wreConfig->getRoot("/etc/nginx.conf");
85+
my $cmd = $wreConfig->getRoot("/prereqs/sbin/nginx")." -c ".$wreConfig->getRoot("/etc/nginx.conf");
8686
my $count = 0;
8787
my $success = 0;
8888
`$cmd`; # catch command line output
@@ -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/bin/nginx")." -c ".$wreConfig->getRoot("/etc/modproxy.conf")." stop";
117+
my $cmd = $wreConfig->getRoot("/prereqs/sbin/nginx")." -c ".$wreConfig->getRoot("/etc/modproxy.conf")." 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.