Skip to content

Instantly share code, notes, and snippets.

@adamhunter
Created March 15, 2010 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamhunter/333143 to your computer and use it in GitHub Desktop.
Save adamhunter/333143 to your computer and use it in GitHub Desktop.
create this file in /Library/LaunchDaemons/org.basho.riak.plist
run: sudo launchctl load /Library/LaunchDaemons/org.basho.riak.plist
riak ping to verify
<?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>org.basho.riak</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/riak/bin/riak</string>
<string>start</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>WorkingDirectory</key>
<string>/usr/local/riak</string>
<key>StandardErrorPath</key>
<string>/dev/null</string>
<key>StandardOutPath</key>
<string>/dev/null</string>
<key>UserName</key>
<string>USERNAME_TO_RUN_RIAK</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment