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.
I\'ve tried using the
There are two things going on.
(1) will your system start Jenkins when it comes up. Controlled by load and unload.
(2) Is Jenkins currently running or not. Controlled by start and stop.
sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist
sudo launchctl stop /Library/LaunchDaemons/org.jenkins-ci.plist
sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist
sudo launchctl start /Library/LaunchDaemons/org.jenkins-ci.plist