summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-12-14 19:20:39 +0000
committerErmal <eri@pfsense.org>2013-12-14 19:20:55 +0000
commit4aea91d808a12b8bbdcbded370b525e7ac292a47 (patch)
treebfd8008ce0f7aa3b19ec29998b958f9b9ef9bf4d /etc/rc
parentda49fd899695b7d860ef3b938064eedbb2b995de (diff)
downloadpfsense-4aea91d808a12b8bbdcbded370b525e7ac292a47.zip
pfsense-4aea91d808a12b8bbdcbded370b525e7ac292a47.tar.gz
Switch to php-fpm for lighty and check_reload_status will use it. Step by step will migrate the other calls
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index 9baac4e..2a11bdb 100755
--- a/etc/rc
+++ b/etc/rc
@@ -369,6 +369,7 @@ fi
# Run the php.ini setup file and populate
# /usr/local/etc/php.ini and /usr/local/lib/php.ini
/etc/rc.php_ini_setup 2>/tmp/php_errors.txt
+/usr/local/sbin/php-fpm -c /usr/local/lib/php.ini -y /usr/local/lib/php-fpm.conf -RD 2>&1 >/dev/null
# Launch external configuration loader for supported platforms
if [ "$PLATFORM" = "embedded" ]; then
@@ -391,6 +392,7 @@ if [ -f /etc/rc.custom_boot_early ]; then
echo "Done"
fi
+export fcgipath=/var/run/php-fpm.socket
/usr/bin/nice -n20 /usr/local/sbin/check_reload_status
# let the PHP-based configuration subsystem set up the system now
OpenPOWER on IntegriCloud