summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.php-fpm_restart
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-10-13 07:43:12 -0300
committerRenato Botelho <renato@netgate.com>2015-10-13 07:43:12 -0300
commit3646fbcb70e0f7e328e7657115ebba3dcb505ff7 (patch)
treea0f7565b73d6d9422423eb84144cc950bbcd776b /src/etc/rc.php-fpm_restart
parent96d5ca1169c2435572065c103639988b7ef7c9d3 (diff)
downloadpfsense-3646fbcb70e0f7e328e7657115ebba3dcb505ff7.zip
pfsense-3646fbcb70e0f7e328e7657115ebba3dcb505ff7.tar.gz
Remove /usr/local/lib/php.ini, we don't need 2 copies of this
Diffstat (limited to 'src/etc/rc.php-fpm_restart')
-rwxr-xr-xsrc/etc/rc.php-fpm_restart4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/rc.php-fpm_restart b/src/etc/rc.php-fpm_restart
index 6ce04c6..a9a9ee1 100755
--- a/src/etc/rc.php-fpm_restart
+++ b/src/etc/rc.php-fpm_restart
@@ -5,7 +5,7 @@ echo ">>> Killing php-fpm"
sleep 2
# Run the php.ini setup file and populate
-# /usr/local/etc/php.ini and /usr/local/lib/php.ini
+# /usr/local/etc/php.ini
/etc/rc.conf_mount_rw
/etc/rc.php_ini_setup 2>/tmp/php_errors.txt
/bin/rm -f /var/run/php-fpm.pid 2>/dev/null
@@ -13,5 +13,5 @@ sleep 2
/etc/rc.conf_mount_ro
echo ">>> Restarting php-fpm" | /usr/bin/logger -p daemon.info -i -t rc.php-fpm_restart
echo ">>> Starting php-fpm"
-/usr/local/sbin/php-fpm -c /usr/local/lib/php.ini -y /usr/local/lib/php-fpm.conf -RD 2>&1 >/dev/null
+/usr/local/sbin/php-fpm -c /usr/local/etc/php.ini -y /usr/local/lib/php-fpm.conf -RD 2>&1 >/dev/null
OpenPOWER on IntegriCloud