mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
13 lines
437 B
Bash
Executable File
13 lines
437 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
|
|
find /Users/Shared/Jenkins \( -not -user daemon -or -not -group daemon \) -print0 | xargs -0 chown daemon:daemon
|
|
|
|
# Load and start the launch daemon
|
|
/bin/launchctl load -w ${JENKINS_PLIST}
|