To have launchd start redis at login:
ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents
Then to load redis now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
Or, if you don't want/need launchctl, you can just run:
redis-server /usr/local/etc/redis.conf
==> Summary
� /usr/local/Cellar/redis/3.0.3: 9 files, 892K
本文指导您如何在登录时自动启动Redis服务,通过链接配置文件和使用launchctl加载服务,实现无需手动运行redis-server命令。
543

被折叠的 条评论
为什么被折叠?



