summaryrefslogtreecommitdiff
path: root/package/php/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2015-02-05 16:04:19 +0100
committerWaldemar Brodkorb <wbrodkorb@conet.de>2015-02-05 16:04:19 +0100
commitac0122005e1a0b8f86b3ae60dbdec77f40cdd45d (patch)
tree7bdcb2b489f0c912a5204c5fb35130f7e2639180 /package/php/files
parente745f3654ea180805da502b234fd9efe26eff9f6 (diff)
run as www with socket
Diffstat (limited to 'package/php/files')
-rw-r--r--package/php/files/php.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/php/files/php.init b/package/php/files/php.init
index b2e60135b..786284b46 100644
--- a/package/php/files/php.init
+++ b/package/php/files/php.init
@@ -14,7 +14,7 @@ autostart)
;;
start)
if [ -x /usr/bin/php-cgi ];then
- /usr/bin/php-cgi
+ su -m www -c "/usr/bin/php-cgi -b /var/run/php5.sock"
else
/usr/bin/php-fpm -D
fi