user4925383
user4925383

Reputation:

Disable Jenkins autostart on OS X

I have a prototyping instance of Jenkins (most recent version) on my local machine (OS X 10.10). It starts every time I boot my machine.

How can I disable this autostart?

I want to start it manually only when I need it.

Upvotes: 10

Views: 4854

Answers (2)

Streetfights
Streetfights

Reputation: 103

automatictester is 99% right.

The only missing step is that since jenkins runs as a system service (at least on my machine), you'll need to use:

sudo launchctl unload -w /Library/LaunchDaemons/org.jenkins-ci.plist

Upvotes: 2

user4925383
user4925383

Reputation:

All right, have it sorted now. launchctl unload -w /Library/LaunchDaemons/org.jenkins-ci.plist did the trick. Jenkins is no longer running after reboot. -w option was the key.

Upvotes: 8

Related Questions