summaryrefslogtreecommitdiffstats
path: root/startup/mac-init.plist.in
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 11:05:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 11:05:42 +0000
commit305857535615c13098272b678a72000b021a7fc3 (patch)
tree588d04c9a14561b6bc6d3e5ef09d413692a36771 /startup/mac-init.plist.in
parentInitial commit. (diff)
downloadnagios-nrpe-305857535615c13098272b678a72000b021a7fc3.tar.xz
nagios-nrpe-305857535615c13098272b678a72000b021a7fc3.zip
Adding upstream version 4.0.3.upstream/4.0.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--startup/mac-init.plist.in32
1 files changed, 32 insertions, 0 deletions
diff --git a/startup/mac-init.plist.in b/startup/mac-init.plist.in
new file mode 100644
index 0000000..f51c498
--- /dev/null
+++ b/startup/mac-init.plist.in
@@ -0,0 +1,32 @@
+<?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>-f</string>
+ </array>
+ <key>KeepAlive</key>
+ <dict>
+ <key>SuccessfulExit</key>
+ <false/>
+ <key>NetworkState</key>
+ <true/>
+ </dict>
+ <key>RunAtLoad</key>
+ <true/>
+ <key>ProcessType</key>
+ <string>Background</string>
+</dict>
+</plist>