如何停止Mac Snow Leopard上安装的Jenkins? [英] How to stop Jenkins installed on Mac Snow Leopard?
问题描述
我已经在OSX上安装了Jenkins可执行文件,但是现在我想停止其运行.每当我杀死它时,无论如何,它都会立即重新启动.
I have installed Jenkins executable on OSX, but now I want to stop it running. Whenever I kill it, no matter how, it just restarts immediately.
我尝试在詹金斯网址上使用exit命令:
I've tried using the exit command on the jenkins url:
http://localhost:8080/exit
要求我发布命令,然后执行该操作,然后服务器根据请求关闭. 但是随后重新启动.
which asks me to post the command, which I do, and the server shuts down as requested. But then it restarts.
我尝试使用ps
搜索进程ID,并强制杀死它(kill -9 pid
),然后服务器根据请求立即关闭. 但是随后重新启动.
I've tried searching for the process id using ps
, and force killing it (kill -9 pid
), and the server shuts down immediately, as requested. But then it restarts.
我尝试通过gui关闭它,但是不幸的是,似乎没有办法做到这一点.
I've tried shutting it down via the gui, but unfortunately there doesn't seem to be a way to do that.
某处必须有一个守护程序,这使它成为OSX的一个常规问题.
There must be a daemon somewhere, making this a general OSX question.
推荐答案
只需使用launchctl卸载plist
Just unload the plist using launchctl
sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist
这篇关于如何停止Mac Snow Leopard上安装的Jenkins?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!