File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ sub start {
82
82
unless ($wreConfig -> get(" nginx/port" ) > 1024 || $host -> isPrivilegedUser) {
83
83
croak " You are not an administrator on this machine so you cannot start services with ports 1-1024." ;
84
84
}
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" );
86
86
my $count = 0;
87
87
my $success = 0;
88
88
` $cmd ` ; # catch command line output
@@ -114,7 +114,7 @@ sub stop {
114
114
unless ($wreConfig -> get(" nginx/port" ) > 1024 || $host -> isPrivilegedUser) {
115
115
croak " You are not an administrator on this machine so you cannot stop services with ports 1-1024." ;
116
116
}
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" ;
118
118
` $cmd ` ; # catch command line output
119
119
my $count = 0;
120
120
my $success = 0;
You can’t perform that action at this time.
0 commit comments