Closed (duplicate)
Project:
Provision
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Oct 2011 at 22:56 UTC
Updated:
7 Oct 2011 at 23:38 UTC
The following detection code:
[...]
// Try to detect the nginx restart command.
$options[] = '/usr/sbin/nginx -s';
$options[] = '/usr/local/sbin/nginx -s';
$options[] = '/usr/local/bin/nginx -s';
foreach ($options as $test) {
if (is_executable($test)) {
$command = $test;
break;
}
}
return "sudo $command reload";
will never succeed in finding /usr/local/bin/nginx -s as a restart command because that path has a space and is not executable.
Found this will staring at #1297372: Installing with nginx requires some unknown sudo command.
Comments
Comment #1
omega8cc commentedThis has been already fixed and patches are waiting for review in #1259098: nginx HTTP service should support different restart commands
http://drupal.org/node/1259098#comment-4925916
http://drupal.org/node/1259098#comment-4925940