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

Does this work for you?

@bobpp
Copy link
Author

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)

@recursive
Copy link

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?

@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