Blob Blame History Raw
diff -up ./startup/default-init.in.fix_rhel6_vars ./startup/default-init.in
--- ./startup/default-init.in.fix_rhel6_vars	2016-09-08 12:18:58.000000000 -0400
+++ ./startup/default-init.in	2017-03-22 12:17:41.978489574 -0400
@@ -82,6 +82,8 @@ elif [ -f /etc/rc.d/functions ]; then
 
 fi
 
+[ -e /etc/sysconfig/nrpe ] && . /etc/sysconfig/nrpe
+
 
 # See how we were called.
 case "$1" in
@@ -89,7 +91,7 @@ case "$1" in
 start)
 	# Start daemons.
 	$MSG_CMD "Starting nrpe "
-	$START_CMD $NRPE_BIN -c $NRPE_CFG -d
+	$START_CMD $NRPE_BIN -c $NRPE_CFG -d $NRPE_SSL_OPT
 	RETVAL=$?
 	if test "$PRT_STAT" = log_end_msg; then
 		$PRT_STAT $RETVAL