blob: 22d7c8b40893ecc400a20e6b13e6f34e0c7c63fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
object CheckCommand "systemd" {
command = [ PluginDir + "/check_systemd" ]
}
object CheckCommand "needrestart" {
command = [ "/usr/bin/sudo", "/usr/sbin/needrestart", "-p" ]
arguments = {
"-v" = {
set_if = "$needrestart_verbose$"
description = "Show details for debugging"
}
"-k" = {
set_if = "$needrestart_limit_kernel$"
description = "Limit to checking for obsolete kernel"
}
"-l" = {
set_if = "$needrestart_limit_libraries$"
description = "Limit to checking for obsolete libraries"
}
}
vars.needrestart_verbose = false
vars.needrestart_limit_kernel = false
vars.needrestart_limit_libraries = false
}
|