Do not sudo php-fpm

This commit is contained in:
Henrik Lissner 2013-03-22 03:49:27 -04:00
parent d1acc5cb91
commit 456d127303

View file

@ -24,7 +24,7 @@ end
SERVICES = {} SERVICES = {}
if cmd_exists("php-fpm") if cmd_exists("php-fpm")
SERVICES[:php] = { SERVICES[:php] = {
:bin => "sudo #{`which php-fpm`.strip}", :bin => `which php-fpm`.strip,
:opts => "-p '/usr/local/var' -c '#{CONF}/php/php.ini' --fpm-config '#{CONF}/php/php-fpm.conf' --pid '#{PID}/php-fpm-pid'", :opts => "-p '/usr/local/var' -c '#{CONF}/php/php.ini' --fpm-config '#{CONF}/php/php-fpm.conf' --pid '#{PID}/php-fpm-pid'",
:pid => "#{PID}/php-fpm.pid" :pid => "#{PID}/php-fpm.pid"
} }