# number. The file is only written if the NRPE daemon is started by the root
# user and is running in standalone mode.
-<% if nodeinfo.has_key?('squeeze') and nodeinfo['squeeze'] %>
+<% unless lsbdistcodename == 'lenny' %>
pid_file=/var/run/nagios/nrpe.pid
<% else %>
pid_file=/var/run/nrpe.pid