diff options
author | Ermal <eri@pfsense.org> | 2013-12-14 19:20:39 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-12-14 19:20:55 +0000 |
commit | 4aea91d808a12b8bbdcbded370b525e7ac292a47 (patch) | |
tree | bfd8008ce0f7aa3b19ec29998b958f9b9ef9bf4d /etc/rc | |
parent | da49fd899695b7d860ef3b938064eedbb2b995de (diff) | |
download | pfsense-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-x | etc/rc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |