diff options
Diffstat (limited to 'Library/Formula/jenkins.rb')
| -rw-r--r-- | Library/Formula/jenkins.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/jenkins.rb b/Library/Formula/jenkins.rb index 1d247c89b..31d3379f7 100644 --- a/Library/Formula/jenkins.rb +++ b/Library/Formula/jenkins.rb @@ -13,12 +13,13 @@ class Jenkins <Formula def caveats; <<-EOS If this is your first install, automatically load on login with: - cp #{prefix}/org.jenkins-ci.plist ~/Library/LaunchAgents + mkdir -p ~/Library/LaunchAgents + cp #{prefix}/org.jenkins-ci.plist ~/Library/LaunchAgents/ launchctl load -w ~/Library/LaunchAgents/org.jenkins-ci.plist If this is an upgrade and you already have the org.jenkins-ci.plist loaded: launchctl unload -w ~/Library/LaunchAgents/org.jenkins-ci.plist - cp #{prefix}/org.jenkins-ci.plist ~/Library/LaunchAgents + cp #{prefix}/org.jenkins-ci.plist ~/Library/LaunchAgents/ launchctl load -w ~/Library/LaunchAgents/org.jenkins-ci.plist Or start it manually: |
