Skip to content

Commit

Permalink
Fixes #15774: Error while fixing 15748
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdall committed Sep 23, 2019
1 parent 180de3b commit 9f0f840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion techniques/system/server-roles/1.0/component-check.cf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ bundle agent root_component_check
"apache_dist_specific_name" string => "httpd";

any::
"postgresql_service_name" string => execresult("${paths.systemctl} --no-ask-password --type service | ${paths.awk} -F'.' '{print $1}' | ${paths.grep} -E \"^postgresql-?[0-9]*$\" | tail -n 1", "useshell");
"postgresql_service_name" string => execresult("${paths.systemctl} --no-ask-password list-unit-files --type service | ${paths.awk} -F'.' '{print $1}' | ${paths.grep} -E \"^postgresql-?[0-9]*$\" | tail -n 1", "useshell");

"technique_name" string => "server-roles";

Expand Down

0 comments on commit 9f0f840

Please sign in to comment.