restart redis server in ubuntu 18 code example
Example: restart redis ubuntu
# restart redis service
sudo service redis-server restart
# stop redis service
sudo service redis-server stop
# restart redis service
sudo service redis-server restart
# stop redis service
sudo service redis-server stop