Skip to content

Commit ce8e7d3

Browse files
committed
refactor(systemd-unit): execute with sudo
1 parent e23b289 commit ce8e7d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check-plugins/systemd-unit/icingaweb2-module-director/systemd-unit.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"set_if": "$systemd_unit_user$"
3030
}
3131
},
32-
"command": "/usr/lib64/nagios/plugins/systemd-unit",
32+
"command": "/usr/bin/sudo /usr/lib64/nagios/plugins/systemd-unit",
3333
"disabled": false,
3434
"fields": [
3535
{

0 commit comments

Comments
 (0)