From 305857535615c13098272b678a72000b021a7fc3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 13:05:42 +0200 Subject: Adding upstream version 4.0.3. Signed-off-by: Daniel Baumann --- startup/openbsd-init.in | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 startup/openbsd-init.in (limited to 'startup/openbsd-init.in') diff --git a/startup/openbsd-init.in b/startup/openbsd-init.in new file mode 100644 index 0000000..1713646 --- /dev/null +++ b/startup/openbsd-init.in @@ -0,0 +1,18 @@ +#!/bin/sh +# +# Copyright (c) 2016 Nagios(R) Core(TM) Development Team +# + +daemon="@sbindir@/nrpe" + +. /etc/rc.d/rc.subr + +rc_pre() { + install -d -o @nrpe_user@ ${pidfile%/*} +} + +rc_reload() { + pkill -HUP -xf "${pexp}" +} + +rc_cmd "$1" -- cgit v1.2.3