1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd > 3 <plist version="1.0"> 4 <!-- 5 Unbound plist file for use by MacOSX launchd(8) using launchctl(1). 6 Copy this file to /Library/LaunchDaemons. Launchd keeps unbound running. 7 8 Setup your unbound.conf with the following additional settings. 9 server: 10 do-daemonize: no 11 username: "" 12 chroot: "" 13 directory: "" 14 These actions are performed by launchd (for the option values, see below). 15 16 --> 17 <dict> 18 <key>Label</key> 19 <string>unbound</string> 20 21 <key>ProgramArguments</key> 22 <array> 23 <string>unbound</string> 24 </array> 25 26 <key>UserName</key> 27 <string>unbound</string> 28 29 <key>RootDirectory</key> 30 <string>/usr/local/etc/unbound</string> 31 32 <key>WorkingDirectory</key> 33 <string>/usr/local/etc/unbound</string> 34 35 <key>KeepAlive</key> 36 <true/> 37 38 <key>RunAtLoad</key> 39 <true/> 40 41 </dict> 42 </plist> 43