mac取消brew安装服务自启动
使用brew安装zookeeper和kafka后,发现总是开机自启动,浪费系统资源,首先brew services list查看启动路径然后关闭服务,并禁用开机自启动launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.zookeeper.plistlaunchctl unload -w ~/Library/LaunchAgents/ho
·
使用brew安装zookeeper和kafka后,发现总是开机自启动,浪费系统资源,
首先brew services list
查看启动路径
然后关闭服务,并禁用开机自启动
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.zookeeper.plist
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.kafka.plist
launchctl用法参考:https://segmentfault.com/a/1190000039103078
更多推荐
已为社区贡献3条内容
所有评论(0)