Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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

Does this work for you?

Owner

bobpp commented Mar 5, 2011

Basically, yes.
I want to use this for my blog entry. (url / japanese: http://blog.bobpp.jp/2011/02/mac-homebrew-daemontools.html)

Those are the EXACT same steps I used minus setting permissions. svscanboot did not launch, even when tried manually. However, spawning the svscan /services/service manually DID work. Did you by any chance run into anything like that?

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