blob: 1dba19b1b5e30e2b0f8125baa3e8f0ef66ed7c7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/sbin/openrc-run
: ${user:="nagios"}
: ${cfgfile:="/etc/nrpe.cfg"}
: ${nrpe_options:=" -c $cfgfile"} # for backward compatibility
command="/usr/bin/nrpe"
command_args="-f $nrpe_options ${command_args:-}"
command_background="yes"
pidfile="/run/$RC_SVCNAME.pid"
start_stop_daemon_args="
--user $user
${group:+--group $group}"
depend() {
need net
after firewall
}
|