diff options
Diffstat (limited to 'bin/ncp-diag')
-rw-r--r-- | bin/ncp-diag | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ncp-diag b/bin/ncp-diag index c9cd89cb..bed4cfe4 100644 --- a/bin/ncp-diag +++ b/bin/ncp-diag @@ -56,7 +56,7 @@ fi # Services echo "HTTPD service|$( pgrep -c apache2 &>/dev/null && echo up || echo down )" echo "PHP service|$( pgrep -c php-fpm &>/dev/null && echo up || echo down )" -echo "MariaDB service|$( pgrep -c mysqld &>/dev/null && echo up || echo down )" +echo "MariaDB service|$( (pgrep -c mysqld || pgrep -c mariadb) &>/dev/null && echo up || echo down )" echo "Redis service|$( pgrep -c redis-server &>/dev/null && echo up || echo down )" echo "HPB service|$( ncc notify_push:self-test &>/dev/null && echo up || echo down )" echo "Postfix service|$( pgrep -fc postfix &>/dev/null && echo up || echo down )" |