Skip to content

Instantly share code, notes, and snippets.

@toto
Created January 16, 2011 15:01
Show Gist options
  • Save toto/781859 to your computer and use it in GitHub Desktop.
Save toto/781859 to your computer and use it in GitHub Desktop.
launchd config fille to use a homebrew installed saned with the inetd compatibility features in launchd.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.xsane.saned</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/sbin/saned</string>
</array>
<key>OnDemand</key>
<true/>
<key>Disabled</key>
<true/>
<key>Sockets</key>
<dict>
<key>Listeners</key>
<dict>
<key>SockServiceName</key>
<string>sane-port</string>
<key>SockType</key>
<string>stream</string>
</dict>
</dict>
<key>inetdCompatibility</key>
<dict>
<key>Wait</key>
<false/>
</dict>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment