summaryrefslogtreecommitdiffstats
path: root/startup/mac-inetd.plist.in
diff options
context:
space:
mode:
Diffstat (limited to 'startup/mac-inetd.plist.in')
-rw-r--r--startup/mac-inetd.plist.in40
1 files changed, 40 insertions, 0 deletions
diff --git a/startup/mac-inetd.plist.in b/startup/mac-inetd.plist.in
new file mode 100644
index 0000000..45197ea
--- /dev/null
+++ b/startup/mac-inetd.plist.in
@@ -0,0 +1,40 @@
+<?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>org.nagios.nrpe</string>
+ <key>UserName</key>
+ <string>@nrpe_user@</string>
+ <key>GroupName</key>
+ <string>@nrpe_group@</string>
+ <key>Program</key>
+ <string>@sbindir@/nrpe</string>
+ <key>ProgramArguments</key>
+ <array>
+ <string>nrpe</string>
+ <string>-c</string>
+ <string>@pkgsysconfdir@/nrpe.cfg</string>
+ <string>-i</string>
+ </array>
+ <key>Sockets</key>
+ <dict>
+ <key>Listeners</key>
+ <dict>
+ <key>SockServiceName</key>
+ <string>5666</string>
+ <key>SockType</key>
+ <string>stream</string>
+ <key>SockFamily</key>
+ <string>IPv4</string>
+ </dict>
+ </dict>
+ <key>inetdCompatibility</key>
+ <dict>
+ <key>Wait</key>
+ <false/>
+ </dict>
+ <key>ProcessType</key>
+ <string>Background</string>
+</dict>
+</plist>