Skip to content

Instantly share code, notes, and snippets.

@aont
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aont/9849393 to your computer and use it in GitHub Desktop.
Save aont/9849393 to your computer and use it in GitHub Desktop.
launchd plist for saned
<?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" >
<!--
Ref: https://trac.macports.org/attachment/ticket/27791/Portfile.diff
-->
<plist version='1.0'>
<dict>
<key>Label</key>
<string>org.macports.sane-backends</string>
<key>OnDemand</key>
<true />
<key>Disabled</key>
<true />
<key>ProgramArguments</key>
<array>
<string>/opt/local/sbin/saned</string>
</array>
<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>
<!--
<key>KeepAlive</key>
<false />
<key>RunAtLoad</key>
<false />
-->
</dict>
</plist>
@aont
Copy link
Author

aont commented Mar 29, 2014

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