diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-04-03 18:47:56 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-04-03 19:15:41 +0300 |
commit | 30da787f915d8cd80f2cafa921505a1896ee3583 (patch) | |
tree | 410da261173e3deb94a202f740f31f24db3f8560 /bin/ncp-diag | |
parent | d133c73526507c500400d6ba404618f06886c0d9 (diff) |
ncp-web: added nc-config and helper buttonsv0.53.12
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 e3f3b99b..3c65fd94 100644 --- a/bin/ncp-diag +++ b/bin/ncp-diag @@ -50,7 +50,7 @@ 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 "Redis service|$( pgrep -c redis-server &>/dev/null && echo up || echo down )" -echo "Postfix service|$( postfix status &>/dev/null && echo up || echo down )" +echo "Postfix service|$( pgrep -fc postfix &>/dev/null && echo up || echo down )" # WAN echo "internet check|$( ping -W 2 -w 1 -q github.com &>/dev/null && echo ok || echo no } )" |