|
Lines 14-19
Link Here
|
| 14 |
|
14 |
|
| 15 |
extra_started_commands="" |
15 |
extra_started_commands="" |
| 16 |
|
16 |
|
|
|
17 |
if [ ! -d /var/run/nrpe ]; then |
| 18 |
mkdir /var/run/nrpe || return 1 |
| 19 |
fi |
| 20 |
|
| 17 |
command=/usr/libexec/${SVCNAME} |
21 |
command=/usr/libexec/${SVCNAME} |
| 18 |
command_args="-c ${CFGFILE} --daemon" |
22 |
command_args="-c ${CFGFILE} --daemon" |
| 19 |
pidfile=$(get_config pid_file) |
23 |
pidfile=$(get_config pid_file) |