Homebrew 插件自启动

版权声明:本文首发 http://asing1elife.com ,转载请注明出处。 https://blog.csdn.net/asing1elife/article/details/82892939

通过 brew install xxx 安装的插件可以通过以下方式设置自启动

更多精彩

安装插件

brew install redis

将插件的自启动脚本通过软链接的方式映射到系统的自启动目录下

sudo ln -f /usr/local/Cellar/redis/3.2.9/homebrew.mxcl.redis.plist /Library/LaunchAgents/

加载启动脚本

launchctl load /Library/LaunchAgents/homebrew.mxcl.redis.plist

停止启动脚本

launchctl unload /Library/LaunchAgents/homebrew.mxcl.redis.plist
上一篇:Linux中ftp安装与基本操作


下一篇:Yenista光学发布新型无源器件测试平台CTP10