4
0

default-service.in 642 B

123456789101112131415161718192021222324
  1. [Unit]
  2. Description=Nagios Remote Plugin Executor
  3. Documentation=http://www.nagios.org/documentation
  4. After=var-run.mount nss-lookup.target network.target local-fs.target time-sync.target
  5. Before=getty@tty1.service plymouth-quit.service xdm.service
  6. Conflicts=nrpe.socket
  7. [Install]
  8. WantedBy=multi-user.target
  9. [Service]
  10. Type=simple
  11. Restart=on-abort
  12. PIDFile=@piddir@/nrpe.pid
  13. RuntimeDirectory=nrpe
  14. RuntimeDirectoryMode=0755
  15. ExecStart=@sbindir@/nrpe -c @pkgsysconfdir@/nrpe.cfg -f
  16. ExecReload=/bin/kill -HUP $MAINPID
  17. ExecStopPost=/bin/rm -f @piddir@/nrpe.pid
  18. TimeoutStopSec=60
  19. User=@nrpe_user@
  20. Group=@nrpe_group@
  21. PrivateTmp=true
  22. OOMScoreAdjust=-500