Created
February 13, 2011 06:47
-
-
Save bobpp/824501 to your computer and use it in GitHub Desktop.
daemontools at Mac OS X homebrew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
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
Does this work for you?