Skip to content

Instantly share code, notes, and snippets.

@vindia
Created January 23, 2012 13:03
Show Gist options
  • Save vindia/1663023 to your computer and use it in GitHub Desktop.
Save vindia/1663023 to your computer and use it in GitHub Desktop.
Launch BeanstalkD with launchd
<?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.beanstalkd.bean</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/beanstalkd</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>WorkingDirectory</key>
<string>/usr/local/Cellar/beanstalk</string>
<key>StandardErrorPath</key>
<string>/var/log/beanstalkd.log</string>
<key>StandardOutPath</key>
<string>/var/log/beanstalkd.log</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment