NagiosEnterprises / ndoutils

NDOUtils - Database Output for Nagios Core
GNU General Public License v2.0
48 stars 21 forks source link

config/ndo2db.cfg-sample.in: use @piddir@ for the pid file. #44

Closed orlitzky closed 6 years ago

orlitzky commented 7 years ago

The "lock_file" setting in ndo2db.cfg specifies where the daemon's pid file should be stored. In the past, it was stored in @localstatedir@, but @piddir@ is more appropriate. As evidence, all of the init scripts in the "startup" directory reference @piddir@ and not @localstatedir@ for the location of the pid file. This commit updates the sample config to agree with the init scripts.