Skip to content

Instantly share code, notes, and snippets.

@cdwilson
Created September 15, 2010 19:09
Show Gist options
  • Save cdwilson/581266 to your computer and use it in GitHub Desktop.
Save cdwilson/581266 to your computer and use it in GitHub Desktop.
Mac OS X Snow Leopard - /Library/LaunchDaemons/org.kernel.git.git-daemon.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.kernel.git.git-daemon</string>
<key>UserName</key>
<string>git</string>
<key>GroupName</key>
<key>git</key>
<key>ProgramArguments</key>
<array>
<string>/opt/local/libexec/git-core/git</string>
<string>daemon</string>
<string>--reuseaddr</string>
<string>--inetd</string>
<string>--verbose</string>
<string>--base-path=/Users/git/repositories/</string>
<string>/Users/git/repositories/</string>
</array>
<key>inetdCompatibility</key>
<dict>
<key>Wait</key>
<false/>
</dict>
<key>Sockets</key>
<dict>
<key>Listeners</key>
<dict>
<key>SockServiceName</key>
<string>git</string>
</dict>
</dict>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment