Skip to content

Instantly share code, notes, and snippets.

@nickyp
Created November 9, 2010 16:34
Show Gist options
  • Save nickyp/669341 to your computer and use it in GitHub Desktop.
Save nickyp/669341 to your computer and use it in GitHub Desktop.
Mac OS X LaunchDaemon plist for Redis
<?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.redis.redis-server</string>
<key>ProgramArguments</key>
<array>
<string>/opt/redis/redis-server</string>
<string>/opt/redis/redis.conf</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>WorkingDirectory</key>
<string>/opt/redis</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment