Skip to content

Instantly share code, notes, and snippets.

@phatblat
Created January 9, 2018 16:52
Show Gist options
  • Save phatblat/ed7e0f37e93229508b8e0bb6c290c5a2 to your computer and use it in GitHub Desktop.
Save phatblat/ed7e0f37e93229508b8e0bb6c290c5a2 to your computer and use it in GitHub Desktop.
Custom Artifactory launchctl plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.jfrog.artifactory</string>
<key>WorkingDirectory</key>
<string>/usr/local/opt/artifactory/libexec</string>
<key>Program</key>
<string>/usr/local/opt/artifactory/bin/artifactory.sh</string>
<key>KeepAlive</key>
<true/>
<key>EnvironmentVariables</key>
<dict>
<key>JAVA_HOME</key>
<string>/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home</string>
</dict>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment