Files
jenkins/osx/scripts/postinstall-launchd
T
Sami Tikka eeda9e218e Mac: Removed unnecessary start command
The Jenkins launch daemon is configured "RunAtLoad", i.e. it runs immediately. No need to start it.
2011-07-05 17:39:28 -07:00

13 lines
366 B
Bash
Executable File

#!/bin/bash
JENKINS_PLIST="/Library/LaunchDaemons/org.jenkins-ci.plist"
# Because PackageMaker just copies the components, we need to fix the permissions
chown root:wheel ${JENKINS_PLIST}
chmod 644 ${JENKINS_PLIST}
mkdir -p /Users/Shared/Jenkins
chown -R daemon:daemon /Users/Shared/Jenkins
# Load and start the launch daemon
/bin/launchctl load ${JENKINS_PLIST}