Shell script `default/phpfpm-package-is-running'

Check if PHP-FPM is running

if ps aux | grep -v grep | grep php-fpm > /dev/null 2>&1; then echo 'running' else echo 'not running' fi