restart redis service code example Example: brew stop redis brew services start|run redis brew services stop redis