停止在Mac OS中暂时启动的作业

时间:2012-04-27 15:06:15

标签: macos launchd

我在launchd下安装了 Redis 作业。

为了检查我的应用程序如何在没有Redis的情况下工作,我想暂停一下。

$launchctl stop homebrew.redis # => redis down and up right away

我知道命令launchctl unload path_to_plist,但这不适合我。

没有卸载plist的解决方案是否存在?

1 个答案:

答案 0 :(得分:6)

我认为没有

launchctl unload是暂时停止OS X中服务的唯一方法。

相关问题