redis server stop
$ redis-cli shutdown
redis server stop
$ redis-cli shutdown
restart redis ubuntu
# restart redis service
sudo service redis-server restart
# stop redis service
sudo service redis-server stop
brew stop redis
brew services start|run redis
brew services stop redis
script for restart redis service automatically
#!/bin/bash
a=$(redis-cli -p 6379 PING)
if [ "$a" = "PONG" ]
then
echo 'Already running'
else
b=$(/etc/init.d/redis_6379 start)
echo $b
fi
service redis restart
brew services start|run redis
brew services stop redis
brew services restart redis
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us