check_webservice_load.sh: fix errors for redis-server check.
This commit is contained in:
parent
d02b25089e
commit
96bdb83da0
@ -403,7 +403,7 @@ fi
|
|||||||
|
|
||||||
if $check_redis ; then
|
if $check_redis ; then
|
||||||
|
|
||||||
REDISD="$(realpath $(which redis-server))"
|
REDISD="$(which redis-server)"
|
||||||
if [ -z "$REDISD" ]; then
|
if [ -z "$REDISD" ]; then
|
||||||
if [ -x "/usr/sbin/redis-server" ]; then
|
if [ -x "/usr/sbin/redis-server" ]; then
|
||||||
REDISD="/usr/sbin/redis-server"
|
REDISD="/usr/sbin/redis-server"
|
||||||
@ -1689,7 +1689,7 @@ fi
|
|||||||
#-----------------------------
|
#-----------------------------
|
||||||
#---------------------------------------
|
#---------------------------------------
|
||||||
|
|
||||||
if $check_nginx ; then
|
if $check_redis ; then
|
||||||
|
|
||||||
echo "" > $LOCK_DIR/extra_msg.txt
|
echo "" > $LOCK_DIR/extra_msg.txt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user