summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2014-11-15 23:37:38 -0600
committerChris Buechler <cmb@pfsense.org>2014-11-15 23:37:38 -0600
commit9a25a85d3ef7c6cc71e543f95f3ec3bb4a0a348e (patch)
tree85a33efc6c5804d8502dc7ca853235efea12c5d5
parentb026cb1837a51f3d7813ba4f5dca687be3a7a9ae (diff)
downloadpfsense-9a25a85d3ef7c6cc71e543f95f3ec3bb4a0a348e.zip
pfsense-9a25a85d3ef7c6cc71e543f95f3ec3bb4a0a348e.tar.gz
show user that something is actually happening when they choose php-fpm_restart
-rwxr-xr-xetc/rc.php-fpm_restart2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.php-fpm_restart b/etc/rc.php-fpm_restart
index 422b951..25b4d40 100755
--- a/etc/rc.php-fpm_restart
+++ b/etc/rc.php-fpm_restart
@@ -1,5 +1,6 @@
#!/bin/sh
+echo ">>> Killing php-fpm"
/bin/pkill -F /var/run/php-fpm.pid
sleep 2
@@ -7,5 +8,6 @@ sleep 2
# /usr/local/etc/php.ini and /usr/local/lib/php.ini
/etc/rc.php_ini_setup 2>/tmp/php_errors.txt
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
OpenPOWER on IntegriCloud