summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2017-04-03 14:52:20 -0400
committerjim-p <jimp@pfsense.org>2017-04-03 14:52:20 -0400
commitac4be4cd60c3fa202951ffee7648d316e23fdcf2 (patch)
treebefdc48365a912920fa40fc2f797b307592b5efa /src
parentb3a5af718b556c90737059bd964b630673387b71 (diff)
parentad401906a93ff5bf2e6f6fb6d3bf7f95ae56ec1a (diff)
downloadpfsense-ac4be4cd60c3fa202951ffee7648d316e23fdcf2.zip
pfsense-ac4be4cd60c3fa202951ffee7648d316e23fdcf2.tar.gz
Merge pull request #3637 from luckman212/crs-hangfix-test-1
Diffstat (limited to 'src')
-rwxr-xr-xsrc/etc/rc.php-fpm_restart7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/etc/rc.php-fpm_restart b/src/etc/rc.php-fpm_restart
index 3af827e..c390c77 100755
--- a/src/etc/rc.php-fpm_restart
+++ b/src/etc/rc.php-fpm_restart
@@ -22,6 +22,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+echo ">>> Killing check_reload_status"
+/bin/pkill -9 check_reload_status
+sleep 2
+
echo ">>> Killing php-fpm"
/bin/pkill -F /var/run/php-fpm.pid
sleep 2
@@ -40,3 +44,6 @@ echo ">>> Restarting php-fpm" | /usr/bin/logger -p daemon.info -i -t rc.php-fpm_
echo ">>> Starting php-fpm"
/usr/local/sbin/php-fpm -c /usr/local/etc/php.ini -y /usr/local/lib/php-fpm.conf -RD 2>&1 >/dev/null
+# restart check_reload_status
+echo ">>> Starting check_reload_status"
+/usr/bin/nice -n20 /usr/local/sbin/check_reload_status
OpenPOWER on IntegriCloud