File: command.conf

package info (click to toggle)
needrestart 3.11-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 780 kB
  • sloc: perl: 3,552; sh: 394; makefile: 83
file content (17 lines) | stat: -rw-r--r-- 402 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
object CheckCommand "needrestart" {
	command = [ "/usr/sbin/needrestart", "-p" ]
	arguments = {
		"-k" = {
			description = "check for obsolete kernel"
			set_if = "$needrestart_kernel$"
		}
		"-l" = {
			description = "check for obsolete libraries"
			set_if = "$needrestart_libraries$"
		}
		"-w" = {
			description = "check for obsolete CPU microcode"
			set_if = "$needrestart_microcode$"
		}
	}
}