I installed Redis via brew install redis
and attempted to add it as a service via:
ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
These didn't generate any errors; however, it appears that Redis does not start. If I run redis-cli ping
, I get back Could not connect to Redis at 127.0.0.1:6379: Connection refused
.
I can manually run redis-server
in another terminal window, but I'd like to have Redis auto-start on login.
I also tried uninstalling Redis, reinstalling it, and using brew services
to manage services (brew services
works fine for me with the installations of MongoDB and Cassandra).
I haven't seen others having this problem so I'm not sure how to diagnose. If anyone has any advice, much appreciated!