needrestart.conf 302 B

12345678910111213
  1. #
  2. # Check commands for needrestart kernel and library check
  3. #
  4. object CheckCommand "needrestart_kernel" {
  5. import "plugin-check-command"
  6. command = [ "sudo", "/usr/sbin/needrestart", "-p", "-k" ]
  7. }
  8. object CheckCommand "needrestart_libs" {
  9. command = [ "sudo", "/usr/sbin/needrestart", "-p", "-l" ]
  10. }