如何关闭在Mac OSX上运行的rethinkdb

nel*_*nic 3 macos shutdown rethinkdb

注意:我们喜欢 RethinkDB,但是我们当前的项目没有使用它,所以我们需要释放本地机器上的资源......

我们使用自制软件安装了RethinkDB :

brew update && brew install rethinkdb
Run Code Online (Sandbox Code Playgroud)

并按照以下说明将rethinkdb进程添加到plist中:http://rethinkdb.com/docs/start-on-startup/

但现在我们需要关闭它以释放8080端口以获得另一项服务.

我们需要运行什么命令?(谢谢!)

Fre*_*era 15

在终端中执行此操作

检查你是否使用brew启动它

$ brew services list
Run Code Online (Sandbox Code Playgroud)

停止rethinkdb:

$ brew services stop rethinkdb
Run Code Online (Sandbox Code Playgroud)

重新开始:

$ brew services start rethinkdb
Run Code Online (Sandbox Code Playgroud)


Mar*_*ell 1

像这样,我想,如果你使用launchctl

sudo launchctl unload -w /Library/LaunchDaemons/com.rethinkdb.server.plist
Run Code Online (Sandbox Code Playgroud)