Skip to content

Instantly share code, notes, and snippets.

@bobpp
Created February 13, 2011 06:47
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save bobpp/824501 to your computer and use it in GitHub Desktop.
Save bobpp/824501 to your computer and use it in GitHub Desktop.
daemontools at Mac OS X homebrew
<?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.github.mxcl.homebrew.daemontools</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/svscanboot</string>
</array>
<key>Disabled</key>
<false/>
<key>OnDemand</key>
<false/>
</dict>
</plist>
sudo mkdir /service
sudo cp com.github.mxcl.homebrew.daemontools.plist /Library/LaunchDaemons/
sudo chown root:wheel /Library/LaunchDaemons/com.github.mxcl.homebrew.daemontools.plist
sudo launchctl load /Library/LaunchDaemons/com.github.mxcl.homebrew.daemontools.plist
@recursive
Copy link

Thanks. Found I was using /services instead of /service. Bah!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment