mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-21 15:55:40 +00:00
14 lines
402 B
Bash
Executable File
14 lines
402 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:admin ${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}
|
|
/bin/launchctl start org.jenkins-ci
|