Created attachment 341034 [details, diff] patchfile for /etc/init.d/nrpe net-analyzer/nrpe will not start on a fresh boot since /var/run/nrpe isn't created because /var/run -> /run which is tmpfs. I have included a patch that will check to see if the folder exists, and create it if not.
The patch is wrong, especially since it's running in global scope. Besides, a fresh install wouldn't have the problem; if it's an upgrade, just change the pidfile in the configuration files: # PID FILE # The name of the file in which the NRPE daemon should write it's process ID # number. The file is only written if the NRPE daemon is started by the root # user and is running in standalone mode. pid_file=/run/nrpe.pid